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
29 changes: 29 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,32 @@ jobs:
uvx coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build package artifacts
if: >
matrix.os[0] == 'ubuntu'
&& matrix.config[1] == 'py314'
run: |
rm -f dist/*
pip install -U packaging "setuptools >= 78.1.1,< 82" wheel twine
python setup.py sdist
python setup.py bdist_wheel

- name: Upload package wheel
if: >
matrix.os[0] == 'ubuntu'
&& matrix.config[1] == 'py314'
uses: actions/upload-artifact@v7
with:
name: RestrictedPython.whl
path: dist/*whl

- name: Upload package source distribution
if: >
matrix.os[0] == 'ubuntu'
&& matrix.config[1] == 'py314'
uses: actions/upload-artifact@v7
with:
name: RestrictedPython.tar.gz
path: dist/*gz

2 changes: 1 addition & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
[meta]
template = "pure-python"
commit-id = "ba10c93f"
commit-id = "fee4a500"

[python]
with-pypy = false
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
[build-system]
requires = [
"setuptools >= 78.1.1,< 81",
"setuptools >= 78.1.1,< 82",
"wheel",
]
build-backend = "setuptools.build_meta"


[project]
name = "RestrictedPython"
version = "8.2.dev0"
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python

[flake8]
doctests = 1

Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ usedevelop = true
package = wheel
wheel_build_env = .pkg
deps =
setuptools >= 78.1.1,< 81
setuptools >= 78.1.1,< 82
datetime: DateTime
-cconstraints.txt
pytest-cov
Expand Down Expand Up @@ -64,7 +64,7 @@ description = ensure that the distribution is ready to release
basepython = python3
skip_install = true
deps =
setuptools >= 78.1.1,< 81
setuptools >= 78.1.1,< 82
wheel
twine
build
Expand Down
Loading