Skip to content

Commit 46b3486

Browse files
committed
Drop support for Python < 3.9
1 parent 7f8631d commit 46b3486

File tree

5 files changed

+13
-14
lines changed

5 files changed

+13
-14
lines changed

.github/workflows/ci.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
strategy:
2828
matrix:
29-
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12, pypy3.9, pypy3.10]
29+
python-version: [3.9, "3.10", 3.11, 3.12, pypy3.9, pypy3.10]
3030
steps:
3131
- uses: actions/checkout@v4
3232
- uses: actions/setup-python@v5
@@ -43,19 +43,18 @@ jobs:
4343
# Test compatibility with the oldest Python version we claim to support,
4444
# and for fluent.runtime's compatibility with a range of fluent.syntax versions.
4545
compatibility:
46-
runs-on: ubuntu-20.04 # https://github.com/actions/setup-python/issues/544
46+
runs-on: ubuntu-latest
4747
strategy:
4848
matrix:
4949
fluent-syntax:
50-
- ./fluent.syntax
5150
- fluent.syntax==0.19.0
5251
- fluent.syntax==0.18.1 six
5352
- fluent.syntax==0.17.0 six
5453
steps:
5554
- uses: actions/checkout@v3
5655
- uses: actions/setup-python@v4
5756
with:
58-
python-version: 3.6
57+
python-version: 3.9
5958
- run: python -m pip install ${{ matrix.fluent-syntax }}
6059
- run: python -m pip install ./fluent.runtime
6160
- run: python -m unittest discover -s fluent.runtime

fluent.runtime/setup.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
with open(path.join(this_directory, "README.rst"), "rb") as f:
77
long_description = f.read().decode("utf-8")
88

9-
109
setup(
1110
name="fluent.runtime",
1211
description="Localization library for expressive translations.",
@@ -21,16 +20,16 @@
2120
"Development Status :: 3 - Alpha",
2221
"Intended Audience :: Developers",
2322
"License :: OSI Approved :: Apache Software License",
24-
"Programming Language :: Python :: 3.6",
25-
"Programming Language :: Python :: 3.7",
26-
"Programming Language :: Python :: 3.8",
2723
"Programming Language :: Python :: 3.9",
24+
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
26+
"Programming Language :: Python :: 3.12",
2827
"Programming Language :: Python :: 3 :: Only",
2928
],
3029
packages=["fluent.runtime"],
3130
package_data={"fluent.runtime": ["py.typed"]},
3231
# These should also be duplicated in tox.ini and /.github/workflows/fluent.runtime.yml
33-
python_requires=">=3.6",
32+
python_requires=">=3.9",
3433
install_requires=[
3534
"fluent.syntax>=0.17,<0.20",
3635
"attrs",

fluent.runtime/tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This config is for local testing.
22
# It should be correspond to .github/workflows/fluent.runtime.yml
33
[tox]
4-
envlist = {py36,py37,py38,py39,pypy3}-syntax, py3-syntax0.17, latest
4+
envlist = {py39,py310,py311,py312,pypy3}-syntax, py3-syntax0.17, latest
55
skipsdist=True
66

77
[testenv]

fluent.syntax/setup.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@
2020
"Development Status :: 3 - Alpha",
2121
"Intended Audience :: Developers",
2222
"License :: OSI Approved :: Apache Software License",
23-
"Programming Language :: Python :: 3.6",
24-
"Programming Language :: Python :: 3.7",
25-
"Programming Language :: Python :: 3.8",
2623
"Programming Language :: Python :: 3.9",
24+
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
26+
"Programming Language :: Python :: 3.12",
2727
"Programming Language :: Python :: 3 :: Only",
2828
],
2929
packages=["fluent.syntax"],
3030
package_data={"fluent.syntax": ["py.typed"]},
31+
python_requires=">=3.9",
3132
install_requires=["typing-extensions>=3.7,<5"],
3233
test_suite="tests.syntax",
3334
)

fluent.syntax/tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This config is for local testing.
22
# It should be correspond to .github/workflows/fluent.syntax.yml
33
[tox]
4-
envlist = py36, py37, py38, py39, pypy3
4+
envlist = py39, py310, py311, py312, pypy3
55
skipsdist=True
66

77
[testenv]

0 commit comments

Comments
 (0)