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

Add Python 3.9.18 #163

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions .github/workflows/build-cross-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
fail-fast: false
matrix:
version:
- 3.9.18
- 3.10.13
- 3.11.6
host:
Expand Down Expand Up @@ -115,6 +116,7 @@ jobs:
fail-fast: false
matrix:
version:
- 3.9.18
- 3.10.13
- 3.11.6
arch:
Expand Down Expand Up @@ -169,6 +171,7 @@ jobs:
fail-fast: false
matrix:
version:
- 3.9.18
- 3.10.13
- 3.11.6
arch:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-native-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
fail-fast: false
matrix:
version:
- 3.9.18
- 3.10.13
- 3.11.6
host:
Expand Down Expand Up @@ -97,6 +98,7 @@ jobs:
fail-fast: false
matrix:
version:
- 3.9.18
- 3.10.13
- 3.11.6
arch:
Expand Down Expand Up @@ -151,6 +153,7 @@ jobs:
fail-fast: false
matrix:
version:
- 3.9.18
- 3.10.13
- 3.11.6
arch:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-build-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
strategy:
matrix:
python:
- 3.9.18
- 3.10.13
- 3.11.6
platform:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-fips-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
fail-fast: false
matrix:
version:
- 3.9.18
- 3.10.13
- 3.11.6
arch:
Expand Down
2 changes: 2 additions & 0 deletions relenv/build/darwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,5 @@ def build_python(env, dirs, logfp):

build = build.copy(version="3.11.6", md5sum="d0c5a1a31efe879723e51addf56dd206")
builds.add("darwin", builder=build)
build = build.copy(version="3.9.18", md5sum="765576c3af57deb046819ecd57804bbb")
builds.add("darwin", builder=build)
3 changes: 3 additions & 0 deletions relenv/build/linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,3 +591,6 @@ def build_python(env, dirs, logfp):

build = build.copy(version="3.11.6", md5sum="d0c5a1a31efe879723e51addf56dd206")
builds.add("linux", builder=build)

build = build.copy(version="3.9.18", md5sum="765576c3af57deb046819ecd57804bbb")
builds.add("linux", builder=build)
2 changes: 2 additions & 0 deletions relenv/build/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,5 @@ def runpip(pkg):

build = build.copy(version="3.11.6", md5sum="d0c5a1a31efe879723e51addf56dd206")
builds.add("win32", builder=build)
build = build.copy(version="3.9.18", md5sum="765576c3af57deb046819ecd57804bbb")
builds.add("win32", builder=build)
11 changes: 7 additions & 4 deletions tests/test_verify_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import packaging
import pytest

from relenv.common import DATA_DIR, get_triplet
from relenv.common import DATA_DIR, get_triplet, build_arch

from .conftest import get_build_version

Expand Down Expand Up @@ -319,13 +319,16 @@ def {}(session):
assert (session / "bin" / "nox").exists()


@pytest.mark.skip_unless_on_linux
@pytest.mark.skipif(
sys.platform != "linux",
reason="m2crypto does not work on non-Linux platforms.",
)
def test_pip_install_m2crypto_system_ssl(pipexec, pyexec, build, tmpdir):
env = os.environ.copy()
env["RELENV_DEBUG"] = "yes"
env["LDFLAGS"] = "-L/usr/lib"
env["CFLAGS"] = "-I/usr/include"
env["SWIG_FEATURES"] = "-I/usr/include"
env["CFLAGS"] = f"-I/usr/include -I/usr/include/{build_arch()}-linux-gnu"
env["SWIG_FEATURES"] = f"-I/usr/include -I/usr/include/{build_arch()}-linux-gnu"
p = subprocess.run(
["swig", "-version"],
)
Expand Down
Loading