Re: Why does qt5-qttools depends on clang 9?

2020-02-05 Thread Chris Jones
Another question is why does clang depend explicitly on python 2.7, can it not be updated to a newer 3.x version ? On 05/02/2020 7:34 am, Vincent Habchi wrote: Hi there, everything is in the subject. Is there any reason for this dependency? I’m trying to get rid of python 2.7, and the only

Re: Why does qt5-qttools depends on clang 9?

2020-02-05 Thread Chris Jones
On 05/02/2020 7:34 am, Vincent Habchi wrote: Hi there, everything is in the subject. Is there any reason for this dependency? I’m trying to get rid of python 2.7, and the only dependent port left so far is clang 9.0, which is needed by qt5-qttools, but I can’t figure out why. Isn't the an

Re: Why does qt5-qttools depends on clang 9?

2020-02-05 Thread Chris Jones
Hi, Quickly looking into things it looks like the python dep clang has is largely redundant. Its needed only on OSes where the system version is 'too old' which means darwin < 11. Most systems can (and in fact if you check the build config, do) use the system python anyway. So I think the py

Why does llvm depend on python 2.7?

2020-02-05 Thread Ken Cunningham
Re llvm using python3 instead of python2.7, please see the following chain: http://lists.llvm.org/pipermail/llvm-dev/2018-January/120826.html Looks like it has to stay python2.7 until they wholesale switch the project at some point. Best, Ken

Re: Why does llvm depend on python 2.7?

2020-02-05 Thread Chris Jones
Hi, Indeed thanks, I had found my way to that link already ;) I think has far as Macports goes, we can fix this by just removing the python dep. entirely for darwin >= 11. Its only needed on the older OSes where the system python is not new enough. I have the changes to do this almost ready,

Re: Why does llvm depend on python 2.7?

2020-02-05 Thread Ken Cunningham
doing that doesn't really take us in the right directiion, though chris. reproducible builds and all that. we go from a fully spec'd proper python to a randomly-found one, in a setting where afaik python 3 is known not to work. and I am not sure at present how to even test all the lldb etc inte

Re: Why does llvm depend on python 2.7?

2020-02-05 Thread Ken Cunningham
I would expect that the llvm project will very soon move the whole infrastructure to some version on python3; llvm is extremely actively maintained ( dozens of commits/day) . I thimk if we are just a bit patient this will take care of itself and be done properly. The flowers are still blooming

Re: Why does llvm depend on python 2.7?

2020-02-05 Thread Chris Jones
Hi, On 05/02/2020 2:18 pm, Ken Cunningham wrote: doing that doesn't really take us in the right directiion, though chris. reproducible builds and all that. we go from a fully spec'd proper python Actually no. That is not what happens at the moment. Check the clang-9.0 config on darwin 11+

Re: Why does llvm depend on python 2.7?

2020-02-05 Thread Chris Jones
Hi, Just to try and be clear. The current inconsistency in the port files is the fact the clang-X builds are configured to *always* depend on python27 whereas the clang-X builds is only figured to use this pyt

Re: Why does llvm depend on python 2.7?

2020-02-05 Thread Chris Jones
Hi, Seeing as I already have the changes... https://github.com/macports/macports-ports/pull/6309 Ken - Use as you see fit. Please note though, as I have tried to explain, this does not actually in practice change how the build is done. On all systems clang-X is configured just as it was befor

Dependency untangling riddle

2020-02-05 Thread Vincent Habchi
Hi again, this time, I have another interesting quandary. When I try to install LyX, I get this message: — Air > sudo port install LyX +python38 ---> Computing dependencies for LyX The following dependencies will be installed: […] py37-beaker py37-mako py37-markdown py37-markupsafe py37-

Re: Dependency untangling riddle

2020-02-05 Thread Christopher Jones
> port rdeps LyX The following ports are dependencies of LyX @2.3.3_1+python27+qt5: xz libiconv gperf gettext ncurses bison bison-runtime m4 gawk cctools libunwind-headers llvm-9.0 cmake libcxx curl pkgconfig lib

Re: Dependency untangling riddle

2020-02-05 Thread Bill Cole
On 5 Feb 2020, at 12:48, Vincent Habchi wrote: Hi again, this time, I have another interesting quandary. When I try to install LyX, I get this message: — Air > sudo port install LyX +python38 ---> Computing dependencies for LyX The following dependencies will be installed: […] py37-beaker

Re: Dependency untangling riddle

2020-02-05 Thread Ryan Schmidt
On Feb 5, 2020, at 11:48, Vincent Habchi wrote: > this time, I have another interesting quandary. When I try to install LyX, I > get this message: > > — > Air > sudo port install LyX +python38 > ---> Computing dependencies for LyX > The following dependencies will be installed: > […] > py37

Re: Dependency untangling riddle

2020-02-05 Thread Christopher Jones
> On 5 Feb 2020, at 6:19 pm, Ryan Schmidt wrote: > > > > On Feb 5, 2020, at 11:48, Vincent Habchi wrote: > >> this time, I have another interesting quandary. When I try to install LyX, I >> get this message: >> >> — >> Air > sudo port install LyX +python38 >> ---> Computing dependencies f

Re: Dependency untangling riddle

2020-02-05 Thread Ryan Schmidt
On Feb 5, 2020, at 12:34, Christopher Jones wrote: > On 5 Feb 2020, at 6:19 pm, Ryan Schmidt wrote: > >> On Feb 5, 2020, at 11:48, Vincent Habchi wrote: >> >>> this time, I have another interesting quandary. When I try to install LyX, >>> I get this message: >>> >>> — >>> Air > sudo port in

Re: Dependency untangling riddle

2020-02-05 Thread Christopher Jones
> On 5 Feb 2020, at 6:35 pm, Ryan Schmidt wrote: > > > > On Feb 5, 2020, at 12:34, Christopher Jones wrote: > >> On 5 Feb 2020, at 6:19 pm, Ryan Schmidt wrote: >> >>> On Feb 5, 2020, at 11:48, Vincent Habchi wrote: >>> this time, I have another interesting quandary. When I try to inst

Re: Dependency untangling riddle

2020-02-05 Thread Mojca Miklavec
On Wed, 5 Feb 2020 at 19:19, Ryan Schmidt wrote: > On Feb 5, 2020, at 11:48, Vincent Habchi wrote: > > > So basically I have a long list of dependents to install, one (or more) of > > which itself/themselves depend(s) on python 3.7, at least in its/their > > default version(s). Since I don’t want

Re: Dependency untangling riddle

2020-02-05 Thread Vincent
Hi, First off, I’d like to apologise for not knowing about rdeps. As I said before, I’ve been part of the project and working on Portfiles for quite a bunch of years, but I’m still unable to master some of the basic commands :( I’m not a great committer. > I suspect in most cases those commit

Re: Dependency untangling riddle

2020-02-05 Thread Michael
On 2020-02-05, at 11:31 AM, Vincent wrote: > > In my case, I delay the bump somewhat because I know most of my ports depend > not only on the language itself, but also on various py-xxx librairies, the > update of which often comes pretty late after the new Python version has been > release

Re: Dependency untangling riddle

2020-02-05 Thread Vincent Habchi
> Is there a concept of "python-stable" versus "python-newest" like there is > the -devel versions? I don’t think so? In my case, it turns out there were three “problematic” ports: gobject-introspection, fonttools and libpsl. All have python 3.7 hardcoded into their Portfile, so it’s not possi