Skip to content

Commit

Permalink
Drop Python 3.8; update githuba action versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Oct 11, 2024
1 parent 3e6ed51 commit 712f120
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,13 @@ jobs:
matrix:
# 3.12.1 breaks zope.testrunner.
# See https://github.com/zopefoundation/zope.testrunner/issues/157
python-version: ['pypy-3.10', '3.12.0', 3.8, 3.9, '3.10', '3.11']
python-version:
- '3.9'
- '3.10'
- '3.11'
- "3.12"
# - "3.13"
- "pypy-3.10-v7.3.17"
os: [ubuntu-latest, macos-latest]
exclude:
# Can't build persistent on 3.12 with -UNDEBUG because it
Expand All @@ -100,10 +106,10 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand Down Expand Up @@ -166,7 +172,7 @@ jobs:
ls -l dist
twine check dist/*
- name: Upload RelStorage wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: RelStorage-${{ runner.os }}-${{ matrix.python-version }}.whl
path: dist/*whl
Expand Down Expand Up @@ -250,26 +256,26 @@ jobs:
name: ${{ matrix.image }}
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Build RelStorage
env:
DOCKER_IMAGE: quay.io/pypa/${{ matrix.image }}
run: bash ./scripts/releases/make-manylinux
- name: Store RelStorage wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: wheelhouse/*whl
name: ${{ matrix.image }}_wheels.zip
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@v1.4.1
uses: pypa/gh-action-pypi-publish@v1.10.3
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
with:
user: __token__
Expand Down
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
to support newer compilers like GCC 13.
- Compile in C++ 11 mode instead of whatever the compiler default was
(sometimes C++ 03), because the latter is deprecated by Boost.
- Stop relying on an undeclared dependency on ``six``. See :issue:`504`.
- Stop relying on an undeclared dependency on ``six``. See
:issue:`504`.
- Drop support for Python 3.8.

4.0.0 (2023-12-11)
==================
Expand Down
2 changes: 1 addition & 1 deletion scripts/releases/make-manylinux
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ if [ -d /RelStorage -a -d /opt/python ]; then
rm -rf wheelhouse
mkdir wheelhouse
ls -l /opt/python
for variant in `ls -d /opt/python/cp{312,38,39,310,311}*`; do
for variant in `ls -d /opt/python/cp{312,39,310,311,313}*`; do
echo "Building $variant"
mkdir /tmp/build
cd /tmp/build
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,12 @@ def read_file(*path):
platforms=["any"],
description="A backend for ZODB that stores pickles in a relational database.",
# 3.8: importlib.metadata
python_requires=">=3.8",
python_requires=">=3.9",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: Zope Public License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down

0 comments on commit 712f120

Please sign in to comment.