Opened 6 years ago
Last modified 15 months ago
#56853 new enhancement
Examine py26-only ports
Reported by: | yan12125 (Chih-Hsuan Yen) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | jmroot (Joshua Root), ryandesign (Ryan Carsten Schmidt), stromnov (Andrey Stromnov), mahergamal@…, rasmus@… | |
Port: | py-clnum py-psyco py-rpncalc |
Description (last modified by yan12125 (Chih-Hsuan Yen))
Some Python ports have only one py26 subport. They should be examined and there are some possibilities:
- Is Python 2.7 supported upstream? If so add py27 subport
- If not, try to patch it to bring Python 2.7 support
- If patching is infeasible, consider dropping it
Port list generated by the following command:
grep -r 'python\.versions' | grep '\<26\>' | grep -v '\<27\>' | cut -d ':' -f 1 | sed 's#/Portfile##' | sed 's#python/##' | sort
I'll look into ports without a maintainer.
Change History (45)
comment:1 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)
comment:2 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)
comment:3 Changed 6 years ago by superbock
Cc: | superbock added |
---|
comment:4 Changed 6 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:5 Changed 6 years ago by reneeotten <reneeotten@…>
comment:6 Changed 6 years ago by reneeotten <reneeotten@…>
comment:7 Changed 6 years ago by reneeotten <reneeotten@…>
comment:8 Changed 6 years ago by reneeotten <reneeotten@…>
comment:9 Changed 6 years ago by reneeotten <reneeotten@…>
comment:10 Changed 6 years ago by reneeotten <reneeotten@…>
comment:11 Changed 6 years ago by petrrr
Description: | modified (diff) |
---|
comment:12 Changed 6 years ago by petrrr
Description: | modified (diff) |
---|---|
Port: | py-carrot py-country py-mox py-openopt py-pyfsevents py-pyhyphen py-recaptcha-client py-repoze.what py-repoze.what-pylons py-repoze.what-quickstart py-repoze.what.plugins.sql py-repoze.who py-repoze.who-friendlyform py-repoze.who-testutil py-repoze.who.plugins.sa removed |
comment:13 Changed 6 years ago by petrrr
Cc: | petrrr added |
---|
comment:14 Changed 6 years ago by reneeotten <reneeotten@…>
comment:15 Changed 6 years ago by reneeotten <reneeotten@…>
comment:16 Changed 6 years ago by reneeotten <reneeotten@…>
comment:17 Changed 6 years ago by reneeotten <reneeotten@…>
comment:18 Changed 6 years ago by reneeotten <reneeotten@…>
comment:19 Changed 6 years ago by reneeotten <reneeotten@…>
comment:20 Changed 6 years ago by reneeotten <reneeotten@…>
comment:21 Changed 6 years ago by reneeotten <reneeotten@…>
comment:22 Changed 6 years ago by reneeotten <reneeotten@…>
comment:23 Changed 6 years ago by reneeotten <reneeotten@…>
comment:24 Changed 6 years ago by reneeotten <reneeotten@…>
comment:25 follow-up: 27 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to yan12125:
py-clnum ryandesign,open py-rpncalc ryandesign,open
These two ports, which are part of the same package, do not support python 2.7 or later. I have contacted the author, who said he is not developing this software any longer. I don't know whether it could be fixed to work on newer versions of python. I don't know if newer alternatives to this software exist.
comment:26 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)
Description: | modified (diff) |
---|
comment:27 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)
ryandesign: I just tried clnum. Looks like it requires non-trivial patches to build on 64-bit systems.
comment:28 follow-up: 31 Changed 6 years ago by reneeotten (Renee Otten)
two other ports have been updated already, but didn't add this ticket in their commit message:
comment:29 Changed 6 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:30 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)
Description: | modified (diff) |
---|
comment:31 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)
Replying to reneeotten:
two other ports have been updated already, but didn't add this ticket in their commit message:
Updated! Feel free to just modify the description in the following commits.
comment:32 Changed 6 years ago by reneeotten <reneeotten@…>
comment:33 Changed 6 years ago by reneeotten <reneeotten@…>
comment:34 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)
Description: | modified (diff) |
---|
comment:35 Changed 5 years ago by reneeotten (Renee Otten)
Port: | py-logilab-hmm py-pebl py-pybox2d py-pymodels py-pymorph py-pyrant py-rabbyt py-scgi py-scikits-ann py-scikits-audiolab py-scikits-talkbox py-scikits-timeseries py-smisk py-tesser py-twill removed |
---|
comment:36 Changed 5 years ago by reneeotten (Renee Otten)
there are three ports left that are not supported anymore upstream:
- py-clnum and py-rpncalc, see comment 25. A quick search on GitHub seem to indicate that there are package for this that will work with newer Python versions; these could be added if there is interest.
- py-psyco, it states on the website: "12 March 2012 - Psyco is unmaintained and dead. Please look at PyPy for the state-of-the-art in JIT compilers for Python."
Any objections to just removing these last three packages?
comment:37 Changed 5 years ago by mf2k (Frank Schima)
No objection here. I say file the PR and let's see if the maintainers object.
comment:39 follow-up: 40 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Since I presume py26-clnum and py26-rpncalc continue to work, why not leave them until an alternative is available?
comment:40 follow-up: 42 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)
Replying to ryandesign:
Since I presume py26-clnum and py26-rpncalc continue to work, why not leave them until an alternative is available?
I'm not sure if those ports still work or not. py26-rpncalc depends on py26-clnum, and during the last time I tried, py26-clnum does not build (comment:27).
comment:41 Changed 5 years ago by superbock
Cc: | superbock removed |
---|
comment:42 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to yan12125:
py26-rpncalc depends on py26-clnum, and during the last time I tried, py26-clnum does not build (comment:27).
I fixed that yesterday in cd816c4 and 3986833. Both ports build on all macOS versions.
comment:43 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)
Thanks! Then IMO it is fine to keep py26-clnum as long as someone is willing to maintain python26.
As a side record, here is the error when I attempt to compile clnum with Python 2.7 on Linux:
$ python2.7 setup.py build_ext running build_ext building 'clnum.clnum' extension gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -I/usr/include/python2.7 -c clnum/src/clnum.cpp -o build/temp.linux-x86_64-2.7/clnum/src/clnum.o clnum/src/clnum.cpp:819:2: error: #error This routine needs to be fixed 819 | #error This routine needs to be fixed | ^~~~~ error: command 'gcc' failed with exit status 1
This seems to be related to an internal change since Python 2.7 (1).
comment:44 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Yes, clnum does not build with python27 or later. I've mentioned it to the author. He's no longer developing the software. That Python issue is very long so I'm not going to read it. :)
comment:45 Changed 15 months ago by petrrr
Cc: | petrrr removed |
---|
In a298c71dc38dc74b79559f85a50a31790a42d266/macports-ports (master):