Skip to content

Commit

Permalink
Drop older python.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Mar 26, 2024
1 parent f5b98b6 commit cf53b35
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13-dev']

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
3.0.1 (in development)
----------------------

* Drop Python 3.7 and 3.8 support.

* Add Python 3.13 support.

* Use new pkg_resources files interface (see issue #98).

3.0.0 (6 March 2024)
--------------------

Expand Down
5 changes: 1 addition & 4 deletions latexcodec/codec.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,7 @@
import unicodedata
from typing import Optional, List, Union, Any, Iterator, Tuple, Type, Dict

try:
import importlib.resources as pkg_resources
except ImportError:
import importlib_resources as pkg_resources
import importlib.resources as pkg_resources


from latexcodec import lexer
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ def readfile(filename):
platforms='any',
packages=find_packages(),
package_data={'latexcodec': ['table.txt']},
python_requires='>=3.7',
python_requires='>=3.9',
)

0 comments on commit cf53b35

Please sign in to comment.