Skip to content

Commit 2946fe7

Browse files
authored
Merge pull request #39 from mgedmin/py314
Add Python 3.14, drop 3.8, 3.9, drop Appveyor, add Windows builds on GHA
2 parents f6a8833 + b1895cc commit 2946fe7

File tree

6 files changed

+27
-55
lines changed

6 files changed

+27
-55
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,28 @@ on:
1414

1515
jobs:
1616
build:
17-
name: Python ${{ matrix.python-version }}
18-
runs-on: ubuntu-latest
17+
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
18+
runs-on: ${{ matrix.os }}
1919

2020
strategy:
2121
matrix:
2222
python-version:
23-
- "3.8"
24-
- "3.9"
2523
- "3.10"
2624
- "3.11"
2725
- "3.12"
2826
- "3.13"
29-
- "pypy3.10"
27+
- "3.14"
28+
os:
29+
- ubuntu-latest
30+
- windows-latest
31+
include:
32+
# pypy3.10 on windows-latest fails one test, which I've briefly
33+
# investigated and I think it's a bug in pypy -- the generator uses a
34+
# with statement and closes the file before terminating, and the test
35+
# uses the generator in a for loop, so it should guarantee
36+
# termination and close the file before the cleanup code runs.
37+
- python-version: "pypy3.10"
38+
os: ubuntu-latest
3039

3140
steps:
3241
- name: Git clone
@@ -36,22 +45,16 @@ jobs:
3645
uses: actions/setup-python@v5
3746
with:
3847
python-version: "${{ matrix.python-version }}"
39-
40-
- name: Pip cache
41-
uses: actions/cache@v4
42-
with:
43-
path: ~/.cache/pip
44-
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
45-
restore-keys: |
46-
${{ runner.os }}-pip-${{ matrix.python-version }}-
47-
${{ runner.os }}-pip-
48+
cache: pip
49+
cache-dependency-path: |
50+
setup.py
4851
4952
- name: Install dependencies
5053
run: |
5154
python -m pip install -U pip
5255
python -m pip install -U setuptools wheel
5356
python -m pip install -U zope.testrunner coverage coveralls
54-
python -m pip install -e .[test]
57+
python -m pip install -e '.[test]'
5558
5659
- name: Run tests
5760
run: coverage run -m zope.testrunner --test-path=src

CHANGES.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
Changelog
22
=========
33

4-
4.0.1 (unreleased)
4+
4.1.0 (unreleased)
55
------------------
66

7-
- Drop support for Python 3.7.
7+
- Add support for Python 3.14.
8+
9+
- Drop support for Python 3.7, 3.8, and 3.9.
810

911

1012
4.0.0 (2024-10-17)

appveyor.yml

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

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,15 @@ def read(filename):
3838
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
3939
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
4040
'Operating System :: OS Independent',
41-
'Programming Language :: Python :: 3.8',
42-
'Programming Language :: Python :: 3.9',
4341
'Programming Language :: Python :: 3.10',
4442
'Programming Language :: Python :: 3.11',
4543
'Programming Language :: Python :: 3.12',
4644
'Programming Language :: Python :: 3.13',
45+
'Programming Language :: Python :: 3.14',
4746
'Programming Language :: Python :: Implementation :: CPython',
4847
'Programming Language :: Python :: Implementation :: PyPy',
4948
],
50-
python_requires='>=3.8',
49+
python_requires='>=3.10',
5150
keywords='irc log colorizer html wsgi',
5251
extras_require=dict(test=[
5352
"zope.testing",

src/irclog2html/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = '4.0.1.dev0'
2-
__date__ = '2024-10-17'
1+
__version__ = '4.1.0.dev0'
2+
__date__ = '2025-11-06'
33
__homepage__ = 'https://mg.pov.lt/irclog2html/'

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py38, py39, py310, py311, py312, py313, pypy3, flake8
2+
envlist = py310, py311, py312, py313, py314, pypy3, flake8
33

44
[testenv]
55
deps =

0 commit comments

Comments
 (0)