Skip to content
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

Python 3.12: Add 3.12.2 #15955

Draft
wants to merge 63 commits into
base: oi/hipster
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
cc9a772
Python 3.12 import: work in progress
Bill-Sommerfeld Jan 26, 2024
feabbd1
Rename components/python/python312 to components/python/python-312
Bill-Sommerfeld Feb 5, 2024
e596bdb
shared-macros.mk: Add current estimated Python 3.12 EOL date
Bill-Sommerfeld Feb 5, 2024
0398b25
Clean up module additions
Bill-Sommerfeld Feb 5, 2024
71b8345
More patch cleanups.
Bill-Sommerfeld Feb 5, 2024
63771be
_curses_panel now builds (though the config is a bit sloppy)
Bill-Sommerfeld Feb 6, 2024
4575992
python-312: update TODO
Bill-Sommerfeld Feb 6, 2024
eb1df5f
Clean up the patches that fixed up ldflags for stdlib modules.
Bill-Sommerfeld Feb 6, 2024
5ac6b4d
Tests are happy.
Bill-Sommerfeld Feb 6, 2024
15f0e77
Tweak 35-20142.patch to apply cleanly
Bill-Sommerfeld Feb 6, 2024
c0b42a8
Build against OpenSSL 3.1
Bill-Sommerfeld Feb 6, 2024
58b922c
one more file for the openssl change
Bill-Sommerfeld Feb 6, 2024
dc4b2f3
remove NEWS.d changes that confused Quilt
Bill-Sommerfeld Feb 6, 2024
7dd18ea
Refreshed patches with gmake refresh-patch
Bill-Sommerfeld Feb 7, 2024
b8312ea
Remove --with-system-ffi CONFIGURE_OPTION (was obsoleted several rele…
Bill-Sommerfeld Feb 7, 2024
86e744d
mdb python support: it builds
Bill-Sommerfeld Feb 7, 2024
b01c4ab
Revise ucred patch to set library dependencies in configure.ac
Bill-Sommerfeld Feb 8, 2024
c32aa80
Revise dlpi patch to set library dependencies in configure.ac
Bill-Sommerfeld Feb 8, 2024
092d303
Revise rbac patch to set library dependencies in configure.ac
Bill-Sommerfeld Feb 8, 2024
b7d4e60
Revise 20-test_fixes to avoid test failures.
Bill-Sommerfeld Feb 8, 2024
cbc7fb2
In 37-test-zipfile.patch, capitalize OSError correctly.
Bill-Sommerfeld Feb 8, 2024
99b94dd
Work around truncated timestamp issue in test_tarfile
Bill-Sommerfeld Feb 8, 2024
293f856
Solaris's libc timezone code is returning EET rather than MST for
Bill-Sommerfeld Feb 8, 2024
0da5e66
weaken assertions in test_shutil to tolerate rather than expect an ex…
Bill-Sommerfeld Feb 8, 2024
dd47a03
two tests of test_eintr hang on Illumos; they are skipped on macos fo…
Bill-Sommerfeld Feb 8, 2024
e2b4462
Tolerate systems (like illumos) where tcgetwinsize fails if the windo…
Bill-Sommerfeld Feb 8, 2024
9dea1be
Revert to OpenSSL 1.1 due to test failures.
Bill-Sommerfeld Feb 8, 2024
9d928c1
Remove stale ac_cv_* settings.
Bill-Sommerfeld Feb 8, 2024
bb16cd8
All tests either passing or skipped except for test_dtrace
Bill-Sommerfeld Feb 8, 2024
18ee465
Checkpoint my TODO file
Bill-Sommerfeld Feb 8, 2024
28d1167
Drop python312.license; switch to SPDX license identifier
mtelka Feb 7, 2024
b385aa5
Drop COMPONENT_PUBLISH_ENV
mtelka Feb 7, 2024
17dece9
Drop PATH from ENV; it is by default there already
mtelka Feb 7, 2024
1424373
Drop ENV setting
mtelka Feb 7, 2024
9e5eca1
Rename manifests to do not contain $(PYV)
mtelka Feb 7, 2024
8c96194
PYTHON_VERSION
mtelka Feb 7, 2024
8927cee
shared-macros.mk: remove extra line
mtelka Feb 7, 2024
0991d1e
Support for versions like 3.12.0a1
mtelka Feb 7, 2024
e078c17
Remove CONFIGURE_FIX_LIBTOOL_RPATH
mtelka Feb 7, 2024
f83a41f
Python 3.12.2
Bill-Sommerfeld Feb 8, 2024
1a444f8
Drop _LARGEFILE64_SOURCE; we compile 64-bit only
mtelka Feb 8, 2024
5a0f6d4
06-rbac.patch: fix SyntaxWarning
mtelka Feb 8, 2024
63df635
use parallel build
mtelka Feb 8, 2024
cadcd26
Rework epoll patch and improve the description.
mtelka Feb 8, 2024
e60be17
Add patch description.
Bill-Sommerfeld Feb 8, 2024
f1a7d94
no test redirect
mtelka Feb 8, 2024
d55a28a
simplify comment for 35-20142.patch
mtelka Feb 8, 2024
d3efc23
Regenerate sample-manifest after #16009 and adjust real manifests to …
Bill-Sommerfeld Feb 9, 2024
62c5775
Restore python function boundary dtrace probes (WIP)
Bill-Sommerfeld Feb 9, 2024
da5a675
Use default manifest template
mtelka Feb 9, 2024
6a26d8e
python.p5m: use transform for autopyc=false; add missing smtpd.py
mtelka Feb 9, 2024
45bd5ca
Create symlinks in post-install
mtelka Feb 9, 2024
9c9ebf6
Fix python-config symlink and libpython312.so
mtelka Feb 11, 2024
16df028
Set mediators using transforms
mtelka Feb 11, 2024
f349740
$(PYTHON.$(PYTHON_VERSION).$(BITS)) -> $(PYTHON)
mtelka Feb 12, 2024
2da91f6
Improve 64-bit object in 32-bit path lint error handling
mtelka Feb 11, 2024
efae032
Rename python.p5m to Python.p5m and remove commented out actions
mtelka Feb 11, 2024
e728bd0
Attempt to restore dtrace line probe (incomplete WIP)
Bill-Sommerfeld Feb 10, 2024
40c57cf
checkpoint TODO again
Bill-Sommerfeld Feb 10, 2024
bf91f22
Enable USE_CTF
Bill-Sommerfeld Feb 20, 2024
9e956fd
Add GCC_GNU_SHORT_TRIPLET for packages that use ...-solaris2 instead …
Bill-Sommerfeld Feb 20, 2024
a6d172e
Pull in upstream fix for test_xml_etree and test_xml_etree_c
Bill-Sommerfeld Feb 20, 2024
16a665b
Fix recognition of target triple for illumos.
Bill-Sommerfeld Feb 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix python-config symlink and libpython312.so
  • Loading branch information
mtelka authored and Bill-Sommerfeld committed Feb 21, 2024
commit 9c9ebf64713f3d903a56bf841dc39de1f06ee1ab
5 changes: 3 additions & 2 deletions components/python/python-312/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,10 @@ COMPONENT_POST_INSTALL_ACTION= \

# Create symlinks without ending '3' for binaries
COMPONENT_POST_INSTALL_ACTION += \
for f in idle pydoc python python-config ; do \
for f in idle pydoc python ; do \
$(SYMLINK) $${f}$(PYTHON_VERSION) $(PROTOUSRBINDIR)/$$f ; \
done ;
done ; \
$(SYMLINK) python$(PYTHON_VERSION)-config $(PROTOUSRBINDIR)/python-config ;

# Allow mediated libpython3.so stable ABI
COMPONENT_POST_INSTALL_ACTION += \
Expand Down
2 changes: 1 addition & 1 deletion components/python/python-312/manifests/sample-manifest.p5m
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ link path=usr/bin/pydoc target=pydoc3.12
link path=usr/bin/pydoc3 target=pydoc3.12
file path=usr/bin/pydoc3.12
link path=usr/bin/python target=python3.12
link path=usr/bin/python-config target=python-config3.12
link path=usr/bin/python-config target=python3.12-config
link path=usr/bin/python3 target=python3.12
link path=usr/bin/python3-config target=python3.12-config
file path=usr/bin/python3.12
Expand Down
6 changes: 2 additions & 4 deletions components/python/python-312/python.p5m
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ link path=usr/bin/pydoc target=pydoc3.12 mediator=python mediator-version=3.12
link path=usr/bin/pydoc3 target=pydoc3.12 mediator=python mediator-version=3.12
file path=usr/bin/pydoc3.12
link path=usr/bin/python target=python3.12 mediator=python mediator-version=3.12
link path=usr/bin/python3 target=python3.12 mediator=python mediator-version=3.12
link path=usr/bin/python-config target=python3.12-config mediator=python \
mediator-version=3.12
link path=usr/bin/python3 target=python3.12 mediator=python mediator-version=3.12
link path=usr/bin/python3-config target=python3.12-config mediator=python \
mediator-version=3.12
file path=usr/bin/python3.12
Expand Down Expand Up @@ -287,10 +287,8 @@ file path=usr/include/python$(PYVER)/weakrefobject.h
link path=usr/lib/$(MACH64)/libpython3.12.so target=libpython3.12.so.1.0
file path=usr/lib/$(MACH64)/libpython3.12.so.1.0
file path=usr/lib/$(MACH64)/libpython3.12_db.so.1.0

# Mediate libpython3 stable ABI
file usr/lib/$(MACH64)/libpython3.so path=usr/lib/$(MACH64)/libpython312.so
link path=usr/lib/$(MACH64)/libpython3.so target=libpython312.so mediator=python mediator-version=3.12
file path=usr/lib/$(MACH64)/libpython312.so
file path=usr/lib/$(MACH64)/pkgconfig/python-3.12-embed.pc
file path=usr/lib/$(MACH64)/pkgconfig/python-3.12.pc
link path=usr/lib/$(MACH64)/pkgconfig/python3-embed.pc \
Expand Down