-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropped use of depricated python3-setuptools / distutils. #3158
Dropped use of depricated python3-setuptools / distutils. #3158
Conversation
See also #3154 and https://bugs.debian.org/1080668 . |
a329e3c
to
8ddd392
Compare
I do not understand why configure still report "checking for site-package location... /usr/lib/python3.9/dist-packages" on bullseye, when it should be reporting /usr/lib/python3/dist-packages after my regex rewrite. When running the code in question manually on bullseye, the correct path show up. |
[andypugh]
Bullseye is not supported by the master branch any more,
anyway. Though arguably this fix needs to go into 2.9 to get tinto
Trixie if Trixie is to lose distutils.
Good point. I'll try to remember to rebase on 2.9 when I am happy with
the change. I do not like that I have no idea why the python oneliner
still fail on bullseye, and am thus reluctant to merge it anywhere.
…--
Happy hacking
Petter Reinholdtsen
|
7b169a6
to
3e3b97d
Compare
It wasn't a good point, I deleted it, but not fast enough. Buster is not supported, Bullseye is still supported (and, in fact, current?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I don't have a whole lot of context for the package, abut I can comment on supporting installing on Debian's python.
Configure has the following result: If you call your python statement, you get 3 rows. The last one is correct. Configure seems to consider the first row only:
If you remove the unnecessary print()s it should work on Bullseye: But it won't work on Bookworm due to an additional "local": Possible solution, but then you can also hardcode it directly: dist-packages is only used by Debian and its derivates and not by other distributions. Why not using my proposal? It hard codes the old Bullseye only. This could be replaced by |
9d53870
to
c1c5283
Compare
See #3159 for new upstream editions of the ax_python*.m4 files. |
c8103d0
to
7463f84
Compare
Make sure sysconfig.get_path("platlib") return correct path on Debian and Ubuntu systems, where /usr/lib/ should be used over /usr/local/lib. Based on e2c10a8 by Andy Pugh and pull request LinuxCNC#3155 by Eckeneckepen. Fixes Debian issue #1080668.
61cc505
to
1709059
Compare
Dropped use of depricated python3-setuptools / distutils. LinuxCNC#3158
Make sure sysconfig.get_path("platlib") return correct path on Debian systems, where /usr/lib/ should be used over /usr/local/lib.
Based on e2c10a8 by Andy Pugh,
Fixes Debian issue #1080668.