Opened 21 months ago
Closed 15 months ago
#67036 closed defect (fixed)
mesa: use python 3.11
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | dbevans (David B. Evans), cooljeanius (Eric Gallager) | |
Port: | mesa |
Description (last modified by mascguy (Christopher Nielsen))
Update mesa
to use Python 3.11:
$ port deps mesa Full Name: mesa @22.1.7_0 Extract Dependencies: xz Build Dependencies: pkgconfig, flex, bison, py310-mako, python310, xorg-xorgproto, meson, ninja Library Dependencies: expat, xorg-libxcb, xorg-libX11, xorg-libXext, xorg-libXdamage, zlib, zstd
Attachments (2)
Change History (18)
Changed 21 months ago by ballapete (Peter "Pete" Dyballa)
Changed 21 months ago by ballapete (Peter "Pete" Dyballa)
Attachment: | main.2.log added |
---|
Main.log of gdk-pixbuf2 upgrade from x86_64 macOS Monterey, Version 12.6.3
comment:1 Changed 21 months ago by kencu (Ken)
the usual command to check this is:
port rdeps PORTXYZ
but even that is not 100% accurate, I have found.
Anyway, might show you what is calling it in.
Of course, about 5,000 ports depend on python3.11 right now, so not really sure why this is a hill worth dying on....
comment:2 Changed 21 months ago by ballapete (Peter "Pete" Dyballa)
port rdeps …
gives some false hints by choosing some default_variant
instead of the actually installed variant
as dependency.
About two dozens of my installed ports depend on Python 3.10
. Since I do not want to have two versions of Python installed I am staying with the older one.
comment:3 Changed 21 months ago by jmroot (Joshua Root)
Cc: | dbevans added |
---|---|
Keywords: | monterey intel removed |
Owner: | set to mascguy |
Status: | new → assigned |
Summary: | Port tries to install Python 3.11 for no use → Ports depend on Python 3.11 |
It's not hard to explain.
% port deps poppler Full Name: poppler @23.03.0_0+boost Extract Dependencies: xz Build Dependencies: cmake, pkgconfig, python311
% port deps gdk-pixbuf2 Full Name: gdk-pixbuf2 @2.42.10_0 Extract Dependencies: xz Build Dependencies: gi-docgen, gtk-doc, libxslt, pkgconfig, py311-docutils, meson, ninja
3.11 is the default python version for MacPorts now, so if a port uses python for something, that's the version it should be using. The fact that you don't like having the latest python version installed doesn't seem like a very compelling reason to add variants, but I'll leave the decision in the hands of the maintainers of these ports.
comment:4 follow-up: 8 Changed 21 months ago by ballapete (Peter "Pete" Dyballa)
I changed the Portfile
s to contain a more sanely value, i.e., 3.10.
comment:5 follow-up: 6 Changed 21 months ago by ballapete (Peter "Pete" Dyballa)
If there would exist a dependency I would not be able to uninstall
a port
without force.
comment:6 Changed 21 months ago by kencu (Ken)
Replying to ballapete:
If there would exist a dependency I would not be able to
uninstall
aport
without force.
unless they are build deps, which they are
comment:7 Changed 21 months ago by ballapete (Peter "Pete" Dyballa)
port deps installed | grep py
does not produce a single line that could be connected to Python 3.11
or any of its modules.
comment:8 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to ballapete:
I changed the
Portfile
s to contain a more sanely value, i.e., 3.10.
Why is 3.11 an insane value? Josh explained in this mailing list post why we are now switching the preferred python version to be the latest one every January 1.
comment:9 follow-up: 10 Changed 21 months ago by ballapete (Peter "Pete" Dyballa)
Because it is not supported yet by all ports:
port deps mesa Full Name: mesa @22.1.7_0 Extract Dependencies: xz Build Dependencies: pkgconfig, flex, bison, py310-mako, python310, xorg-xorgproto, meson, ninja Library Dependencies: expat, xorg-libxcb, xorg-libX11, xorg-libXext, xorg-libXdamage, zlib, zstd
comment:10 Changed 21 months ago by reneeotten (Renee Otten)
Replying to ballapete:
Because it is not supported yet by all ports:
well, then these ports should be updated to use Python 3.11 if supported. You can check whether these ports do, and, if so, submit a PR to suggest/make that change.
comment:11 Changed 21 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:12 Changed 15 months ago by mascguy (Christopher Nielsen)
Description: | modified (diff) |
---|---|
Port: | mesa added; poppler gdk-pixbuf2 removed |
Summary: | Ports depend on Python 3.11 → mesa: use python 3.11 |
comment:13 follow-up: 14 Changed 15 months ago by mascguy (Christopher Nielsen)
PR created for mesa
:
comment:14 Changed 15 months ago by mascguy (Christopher Nielsen)
Replying to mascguy:
PR created for
mesa
:
Pete, is there anything else you've identified? Or is mesa
the only straggler at this point?
p.s. I'll merge the PR, once we've hit the 72-hour maintainer timeout.
comment:15 Changed 15 months ago by ballapete (Peter "Pete" Dyballa)
It's quite some time ago, but hopefully nothing was added with such an old dependency. For my needs mesa
was the only one.
comment:16 Changed 15 months ago by Christopher Nielsen <mascguy@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Main.log of poppler upgrade from x86_64 macOS Monterey, Version 12.6.3