diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1a1b267..785c1e0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/README.rst b/README.rst index c074b64..2d16140 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/pyphen/__init__.py b/pyphen/__init__.py index 176137d..0be8a9a 100755 --- a/pyphen/__init__.py +++ b/pyphen/__init__.py @@ -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()): diff --git a/pyproject.toml b/pyproject.toml index b77b7a3..bf44e32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [ @@ -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',