Skip to content
Merged
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
413 changes: 413 additions & 0 deletions .github/workflows/release.yml

Large diffs are not rendered by default.

384 changes: 71 additions & 313 deletions .github/workflows/tests.yml

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,30 @@

# Required
version: 2

build:
os: "ubuntu-24.04"
tools:
python: "3.13"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

python:
install:
- requirements: requirements/docs.txt
- method: pip
path: .
#extra_requirements:
# - docs

#conda:
# environment: environment.yml
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changes
* FIX: Make sure that the profiled code is run in the
``sys.modules['__main__']`` namespace to avoid issues w/e.g. pickling
(#423)
* CHANGE: Drop support for Python 3.8 and Python 3.9


5.0.2
Expand Down
12 changes: 10 additions & 2 deletions build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,13 @@ if ! which cibuildwheel ; then
exit 1
fi

# Build version-pinned wheels
cibuildwheel --config-file pyproject.toml --platform linux --archs x86_64
LOCAL_CP_VERSION=$(python3 -c "import sys; print('cp' + ''.join(list(map(str, sys.version_info[0:2]))))")
echo "LOCAL_CP_VERSION = $LOCAL_CP_VERSION"

# Build for only the current version of Python
export CIBW_BUILD="${LOCAL_CP_VERSION}-*"


#pip wheel -w wheelhouse .
# python -m build --wheel -o wheelhouse # line_profiler: +COMMENT_IF(binpy)
cibuildwheel --config-file pyproject.toml --platform linux --archs x86_64 # line_profiler: +UNCOMMENT_IF(binpy)
31 changes: 0 additions & 31 deletions dev/ci_public_gpg_key.pgp.enc

This file was deleted.

24 changes: 0 additions & 24 deletions dev/ci_secret_gpg_subkeys.pgp.enc

This file was deleted.

10 changes: 0 additions & 10 deletions dev/gpg_owner_trust.enc

This file was deleted.

2 changes: 2 additions & 0 deletions dev/secrets_configuration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ export VARNAME_CI_SECRET="PYUTILS_CI_SECRET"
export VARNAME_TWINE_PASSWORD="PYUTILS_PYPI_MASTER_TOKEN"
export VARNAME_TEST_TWINE_PASSWORD="PYUTILS_TEST_PYPI_MASTER_TOKEN"
export VARNAME_TWINE_USERNAME="PYUTILS_PYPI_MASTER_TOKEN_USERNAME"
export GITHUB_ENVIRONMENT_PYPI="pypi"
export GITHUB_ENVIRONMENT_TESTPYPI="testpypi"
export VARNAME_TEST_TWINE_USERNAME="PYUTILS_TEST_PYPI_MASTER_TOKEN_USERNAME"
export GPG_IDENTIFIER="=PyUtils-CI <openpyutils@gmail.com>"
Loading
Loading