Skip to content

Commit 07e3776

Browse files
ErotemicTest User
andauthored
Update CI - Drop 3.8 / 3.9 (#428)
* Drop 3.8, fix mypy, add ty, bump test req versions * update xcookie * fix setup * Switch to trusted publishing * Remove encrypted in-repo secrets * reskip qemu, cleanup skip statements * Update changelog and fix minimum version in setup.py --------- Co-authored-by: Test User <test@example.com>
1 parent 492a8c4 commit 07e3776

19 files changed

Lines changed: 934 additions & 454 deletions

.github/workflows/release.yml

Lines changed: 413 additions & 0 deletions
Large diffs are not rendered by default.

.github/workflows/tests.yml

Lines changed: 71 additions & 313 deletions
Large diffs are not rendered by default.

.readthedocs.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,30 @@
77

88
# Required
99
version: 2
10+
1011
build:
1112
os: "ubuntu-24.04"
1213
tools:
1314
python: "3.13"
15+
16+
# Build documentation in the docs/ directory with Sphinx
1417
sphinx:
1518
configuration: docs/source/conf.py
19+
20+
# Build documentation with MkDocs
21+
#mkdocs:
22+
# configuration: mkdocs.yml
23+
24+
# Optionally build your docs in additional formats such as PDF and ePub
1625
formats: all
26+
1727
python:
1828
install:
1929
- requirements: requirements/docs.txt
2030
- method: pip
2131
path: .
32+
#extra_requirements:
33+
# - docs
34+
35+
#conda:
36+
# environment: environment.yml

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Changes
66
* FIX: Make sure that the profiled code is run in the
77
``sys.modules['__main__']`` namespace to avoid issues w/e.g. pickling
88
(#423)
9+
* CHANGE: Drop support for Python 3.8 and Python 3.9
910

1011

1112
5.0.2

build_wheels.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,13 @@ if ! which cibuildwheel ; then
1818
exit 1
1919
fi
2020

21-
# Build version-pinned wheels
22-
cibuildwheel --config-file pyproject.toml --platform linux --archs x86_64
21+
LOCAL_CP_VERSION=$(python3 -c "import sys; print('cp' + ''.join(list(map(str, sys.version_info[0:2]))))")
22+
echo "LOCAL_CP_VERSION = $LOCAL_CP_VERSION"
23+
24+
# Build for only the current version of Python
25+
export CIBW_BUILD="${LOCAL_CP_VERSION}-*"
26+
27+
28+
#pip wheel -w wheelhouse .
29+
# python -m build --wheel -o wheelhouse # line_profiler: +COMMENT_IF(binpy)
30+
cibuildwheel --config-file pyproject.toml --platform linux --archs x86_64 # line_profiler: +UNCOMMENT_IF(binpy)

dev/ci_public_gpg_key.pgp.enc

Lines changed: 0 additions & 31 deletions
This file was deleted.

dev/ci_secret_gpg_subkeys.pgp.enc

Lines changed: 0 additions & 24 deletions
This file was deleted.

dev/gpg_owner_trust.enc

Lines changed: 0 additions & 10 deletions
This file was deleted.

dev/secrets_configuration.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@ export VARNAME_CI_SECRET="PYUTILS_CI_SECRET"
22
export VARNAME_TWINE_PASSWORD="PYUTILS_PYPI_MASTER_TOKEN"
33
export VARNAME_TEST_TWINE_PASSWORD="PYUTILS_TEST_PYPI_MASTER_TOKEN"
44
export VARNAME_TWINE_USERNAME="PYUTILS_PYPI_MASTER_TOKEN_USERNAME"
5+
export GITHUB_ENVIRONMENT_PYPI="pypi"
6+
export GITHUB_ENVIRONMENT_TESTPYPI="testpypi"
57
export VARNAME_TEST_TWINE_USERNAME="PYUTILS_TEST_PYPI_MASTER_TOKEN_USERNAME"
68
export GPG_IDENTIFIER="=PyUtils-CI <openpyutils@gmail.com>"

0 commit comments

Comments
 (0)