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
33 changes: 18 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,28 @@ on:

jobs:
build:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "pypy3.10"
- "3.14"
os:
- ubuntu-latest
- windows-latest
include:
# pypy3.10 on windows-latest fails one test, which I've briefly
# investigated and I think it's a bug in pypy -- the generator uses a
# with statement and closes the file before terminating, and the test
# uses the generator in a for loop, so it should guarantee
# termination and close the file before the cleanup code runs.
- python-version: "pypy3.10"
os: ubuntu-latest

steps:
- name: Git clone
Expand All @@ -36,22 +45,16 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"

- name: Pip cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
${{ runner.os }}-pip-
cache: pip
cache-dependency-path: |
setup.py

- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U setuptools wheel
python -m pip install -U zope.testrunner coverage coveralls
python -m pip install -e .[test]
python -m pip install -e '.[test]'

- name: Run tests
run: coverage run -m zope.testrunner --test-path=src
Expand Down
6 changes: 4 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
Changelog
=========

4.0.1 (unreleased)
4.1.0 (unreleased)
------------------

- Drop support for Python 3.7.
- Add support for Python 3.14.

- Drop support for Python 3.7, 3.8, and 3.9.


4.0.0 (2024-10-17)
Expand Down
32 changes: 0 additions & 32 deletions appveyor.yml

This file was deleted.

5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,15 @@ def read(filename):
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
python_requires='>=3.8',
python_requires='>=3.10',
keywords='irc log colorizer html wsgi',
extras_require=dict(test=[
"zope.testing",
Expand Down
4 changes: 2 additions & 2 deletions src/irclog2html/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '4.0.1.dev0'
__date__ = '2024-10-17'
__version__ = '4.1.0.dev0'
__date__ = '2025-11-06'
__homepage__ = 'https://mg.pov.lt/irclog2html/'
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38, py39, py310, py311, py312, py313, pypy3, flake8
envlist = py310, py311, py312, py313, py314, pypy3, flake8

[testenv]
deps =
Expand Down