Skip to content

Commit

Permalink
Update CI, support Python 3.8+
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Apr 23, 2024
1 parent 59e8512 commit e556be0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tests.yml
Expand Up @@ -6,13 +6,17 @@ jobs:
name: ${{ matrix.os }} - ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8"]
python-version: ['3.12']
include:
- os: ubuntu-latest
python-version: '3.9'
- os: ubuntu-latest
python-version: 'pypy-3.9'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip and setuptools
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -11,7 +11,7 @@ for more details.
https://cgit.freedesktop.org/libreoffice/dictionaries/tree/

* Free software: GPL 2.0+ or LGPL 2.1+ or MPL 1.1 for the code
* For Python 3.7+, tested on CPython and PyPy
* For Python 3.8+, tested on CPython and PyPy
* Documentation: https://doc.courtbouillon.org/pyphen
* Changelog: https://github.com/Kozea/pyphen/releases
* Code, issues, tests: https://github.com/Kozea/pyphen
Expand Down
2 changes: 1 addition & 1 deletion pyphen/__init__.py
Expand Up @@ -31,7 +31,7 @@
try:
dictionaries = resources.files('pyphen.dictionaries')
except (AttributeError, TypeError):
# AttributeError with Python 3.7 and 3.8, TypeError with Python 3.9
# AttributeError with Python 3.8, TypeError with Python 3.9
dictionaries = Path(__file__).parent / 'dictionaries'

for path in sorted(dictionaries.iterdir()):
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Expand Up @@ -8,7 +8,7 @@ description = 'Pure Python module to hyphenate text'
keywords = ['hyphenation']
authors = [{name = 'Guillaume Ayoub', email = 'contact@courtbouillon.org'}]
maintainers = [{name = 'CourtBouillon', email = 'contact@courtbouillon.org'}]
requires-python = '>=3.7'
requires-python = '>=3.8'
readme = {file = 'README.rst', content-type = 'text/x-rst'}
license = {file = 'LICENSE'}
classifiers = [
Expand All @@ -19,11 +19,11 @@ classifiers = [
'License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'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 :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Text Processing',
Expand Down

0 comments on commit e556be0

Please sign in to comment.