Skip to content

Commit 712f120

Browse files
committed
Drop Python 3.8; update githuba action versions.
1 parent 3e6ed51 commit 712f120

File tree

4 files changed

+20
-13
lines changed

4 files changed

+20
-13
lines changed

.github/workflows/tests.yml

+15-9
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,13 @@ jobs:
8787
matrix:
8888
# 3.12.1 breaks zope.testrunner.
8989
# See https://github.com/zopefoundation/zope.testrunner/issues/157
90-
python-version: ['pypy-3.10', '3.12.0', 3.8, 3.9, '3.10', '3.11']
90+
python-version:
91+
- '3.9'
92+
- '3.10'
93+
- '3.11'
94+
- "3.12"
95+
# - "3.13"
96+
- "pypy-3.10-v7.3.17"
9197
os: [ubuntu-latest, macos-latest]
9298
exclude:
9399
# Can't build persistent on 3.12 with -UNDEBUG because it
@@ -100,10 +106,10 @@ jobs:
100106

101107
steps:
102108
- name: checkout
103-
uses: actions/checkout@v3
109+
uses: actions/checkout@v4
104110

105111
- name: Set up Python ${{ matrix.python-version }}
106-
uses: actions/setup-python@v4
112+
uses: actions/setup-python@v5
107113
with:
108114
python-version: ${{ matrix.python-version }}
109115
cache: 'pip'
@@ -166,7 +172,7 @@ jobs:
166172
ls -l dist
167173
twine check dist/*
168174
- name: Upload RelStorage wheel
169-
uses: actions/upload-artifact@v2
175+
uses: actions/upload-artifact@v4
170176
with:
171177
name: RelStorage-${{ runner.os }}-${{ matrix.python-version }}.whl
172178
path: dist/*whl
@@ -250,26 +256,26 @@ jobs:
250256
name: ${{ matrix.image }}
251257
steps:
252258
- name: checkout
253-
uses: actions/checkout@v3
259+
uses: actions/checkout@v4
254260
- name: Set up Python ${{ matrix.python-version }}
255-
uses: actions/setup-python@v4
261+
uses: actions/setup-python@v5
256262
with:
257263
python-version: ${{ matrix.python-version }}
258264
- name: Set up QEMU
259-
uses: docker/setup-qemu-action@v2
265+
uses: docker/setup-qemu-action@v3
260266
with:
261267
platforms: all
262268
- name: Build RelStorage
263269
env:
264270
DOCKER_IMAGE: quay.io/pypa/${{ matrix.image }}
265271
run: bash ./scripts/releases/make-manylinux
266272
- name: Store RelStorage wheels
267-
uses: actions/upload-artifact@v3
273+
uses: actions/upload-artifact@v4
268274
with:
269275
path: wheelhouse/*whl
270276
name: ${{ matrix.image }}_wheels.zip
271277
- name: Publish package to PyPI
272-
uses: pypa/gh-action-pypi-publish@v1.4.1
278+
uses: pypa/gh-action-pypi-publish@v1.10.3
273279
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
274280
with:
275281
user: __token__

CHANGES.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
to support newer compilers like GCC 13.
1010
- Compile in C++ 11 mode instead of whatever the compiler default was
1111
(sometimes C++ 03), because the latter is deprecated by Boost.
12-
- Stop relying on an undeclared dependency on ``six``. See :issue:`504`.
12+
- Stop relying on an undeclared dependency on ``six``. See
13+
:issue:`504`.
14+
- Drop support for Python 3.8.
1315

1416
4.0.0 (2023-12-11)
1517
==================

scripts/releases/make-manylinux

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ if [ -d /RelStorage -a -d /opt/python ]; then
102102
rm -rf wheelhouse
103103
mkdir wheelhouse
104104
ls -l /opt/python
105-
for variant in `ls -d /opt/python/cp{312,38,39,310,311}*`; do
105+
for variant in `ls -d /opt/python/cp{312,39,310,311,313}*`; do
106106
echo "Building $variant"
107107
mkdir /tmp/build
108108
cd /tmp/build

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,12 @@ def read_file(*path):
169169
platforms=["any"],
170170
description="A backend for ZODB that stores pickles in a relational database.",
171171
# 3.8: importlib.metadata
172-
python_requires=">=3.8",
172+
python_requires=">=3.9",
173173
classifiers=[
174174
"Intended Audience :: Developers",
175175
"License :: OSI Approved :: Zope Public License",
176176
"Programming Language :: Python",
177177
"Programming Language :: Python :: 3 :: Only",
178-
"Programming Language :: Python :: 3.8",
179178
"Programming Language :: Python :: 3.9",
180179
"Programming Language :: Python :: 3.10",
181180
"Programming Language :: Python :: 3.11",

0 commit comments

Comments
 (0)