Skip to content

Commit

Permalink
Merge pull request #508 from citrus-it/shebang
Browse files Browse the repository at this point in the history
Switch to python 3.13 primary
  • Loading branch information
oetiker authored Jan 3, 2025
2 parents b2c33f8 + 5a40ca4 commit a1e9480
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/Makefile.com
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ CPPFLAGS = -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
# Whitespace separated list of versions to build and test.
PYVERSIONS = 3.12 3.13
# The single version used for shebang lines and packaging.
PYVER = 3.12
PYVER = 3.13

SHELL= /usr/bin/ksh93
INSTALL = /usr/sbin/install
Expand Down
4 changes: 2 additions & 2 deletions src/pkg/manifests/package:pkg.p5m
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
<transform file path=$(PYDIRVP)/pkg/solver -> \
set pkg.depend.bypass-generate libm.so.0>
#
<include bundledlicences.3.12.core.p5m>
<include bundledmodules.3.12.core.p5m>
<include bundledlicences.3.13.core.p5m>
<include bundledmodules.3.13.core.p5m>
<include bundledmodules.3.12.core.p5m>
set name=pkg.fmri value=pkg:/package/pkg@$(PKGVERS)
set name=pkg.summary value="Image Packaging System - pkg(7)"
set name=pkg.description \
Expand Down
19 changes: 12 additions & 7 deletions src/pkg/manifests/system:zones:brand:bhyve.p5m
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# Copyright 2024 OmniOS Community Edition (OmniOSce) Association.
#

<include bundledlicences.3.12.bhyve.p5m>
<include bundledmodules.3.12.bhyve.p5m>
<include bundledlicences.3.13.bhyve.p5m>
<include bundledmodules.3.13.bhyve.p5m>
<include bundledmodules.3.12.bhyve.p5m>
set name=pkg.fmri value=pkg:/system/zones/brand/bhyve@$(PKGVERS)
set name=pkg.summary value="Image Packaging System branded zone - bhyve zones"
set name=pkg.description value="Support for bhyve branded zones"
Expand All @@ -31,8 +31,10 @@ dir path=usr/lib
dir path=usr/lib/brand
dir path=usr/lib/brand/bhyve
dir path=usr/lib/brand/bhyve/__pycache__
file path=usr/lib/brand/bhyve/__pycache__/bootlib.cpython-312.pyc mode=0444
file path=usr/lib/brand/bhyve/__pycache__/bundle.cpython-312.pyc mode=0444
file path=usr/lib/brand/bhyve/__pycache__/bootlib.cpython$(PYPKGVERS).pyc \
mode=0444
file path=usr/lib/brand/bhyve/__pycache__/bundle.cpython$(PYPKGVERS).pyc \
mode=0444
file path=usr/lib/brand/bhyve/boot mode=0555
file path=usr/lib/brand/bhyve/bootlib.py mode=0444
file path=usr/lib/brand/bhyve/bundle.py mode=0444
Expand All @@ -45,10 +47,13 @@ file path=usr/lib/brand/bhyve/support mode=0555
dir path=usr/lib/brand/bhyve/uefi
file path=usr/lib/brand/bhyve/uefi/__init__.py mode=0444
dir path=usr/lib/brand/bhyve/uefi/__pycache__
file path=usr/lib/brand/bhyve/uefi/__pycache__/__init__.cpython-312.pyc \
file \
path=usr/lib/brand/bhyve/uefi/__pycache__/__init__.cpython$(PYPKGVERS).pyc \
mode=0444
file path=usr/lib/brand/bhyve/uefi/__pycache__/align.cpython$(PYPKGVERS).pyc \
mode=0444
file path=usr/lib/brand/bhyve/uefi/__pycache__/vars.cpython$(PYPKGVERS).pyc \
mode=0444
file path=usr/lib/brand/bhyve/uefi/__pycache__/align.cpython-312.pyc mode=0444
file path=usr/lib/brand/bhyve/uefi/__pycache__/vars.cpython-312.pyc mode=0444
file path=usr/lib/brand/bhyve/uefi/align.py mode=0444
file path=usr/lib/brand/bhyve/uefi/vars.py mode=0444
file path=usr/lib/brand/bhyve/uninstall mode=0555
Expand Down
8 changes: 6 additions & 2 deletions src/pkg/transforms/pynext
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@
<transform path=TBD -> delete pkg.depend.bypass-generate notfound>

# Deliver new modules alongside the old ones (temporary, during migration)
<transform path=TBD -> edit path 312 313>
<transform path=TBD -> edit path 3.12 3.13>
#<transform path=TBD -> edit path 312 313>
#<transform path=TBD -> edit path 3.12 3.13>

# Deliver old modules alongside the new ones (temporary, during migration)
<transform path=TBD -> edit path 313 312>
<transform path=TBD -> edit path 3.13 3.12>

<transform path=TBD -> edit path TBD ''>

0 comments on commit a1e9480

Please sign in to comment.