Skip to content

Commit 9a62db2

Browse files
committed
Support Python 3.8 to Python 3.13
1 parent f564e77 commit 9a62db2

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
16-
python-version: ['3.7','3.8', '3.9', '3.10', '3.11', '3.12']
17-
exclude:
18-
- os: macos-latest
19-
python-version: '3.7'
16+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
2017

2118
steps:
2219
- uses: actions/checkout@v4

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Lang(name='French', pt1='fr', pt2b='fre', pt2t='fra', pt3='fra', pt5='')
1818
```console
1919
$ pip install iso639-lang
2020
```
21-
`iso639-lang` supports Python 3.7+.
21+
`iso639-lang` supports Python 3.8+.
2222

2323
## Usage
2424

@@ -47,9 +47,9 @@ And now with the identifier of a group of languages.
4747
>>> lg = Lang("cel")
4848
>>> lg.name # 639-5 English name
4949
'Celtic languages'
50-
>>> lg.pt2b # 639-2 bibliographic identifier
50+
>>> lg.pt2b # 639-2/B bibliographic identifier
5151
'cel'
52-
>>> lg.pt2t # 639-2 terminological identifier
52+
>>> lg.pt2t # 639-2/T terminological identifier
5353
'cel'
5454
>>> lg.pt5 # 639-5 identifier
5555
'cel'
@@ -85,7 +85,7 @@ You can use the `asdict` method to return ISO 639 values as a Python dictionary
8585
{'name': 'French', 'pt1': 'fr', 'pt2b': 'fre', 'pt2t': 'fra', 'pt3': 'fra', 'pt5': ''}
8686
```
8787

88-
### In data structures
88+
### In Data Structures
8989

9090
Lists of `Lang` instances are sortable by name.
9191
```python

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,18 @@
1313
url="https://github.com/LBeaudoux/iso639",
1414
packages=setuptools.find_packages(),
1515
classifiers=[
16-
"Programming Language :: Python :: 3.7",
16+
"Programming Language :: Python :: 3",
1717
"Programming Language :: Python :: 3.8",
1818
"Programming Language :: Python :: 3.9",
1919
"Programming Language :: Python :: 3.10",
2020
"Programming Language :: Python :: 3.11",
2121
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
2223
"License :: OSI Approved :: MIT License",
2324
"Operating System :: OS Independent",
2425
"Development Status :: 5 - Production/Stable",
2526
],
26-
python_requires=">=3.7",
27+
python_requires=">=3.8",
2728
package_data={"iso639": ["data/*.json"]},
2829
install_requires=[
2930
"importlib-resources;python_version<'3.9'",

0 commit comments

Comments
 (0)