Skip to content

Commit 97a00c1

Browse files
committed
Drop support & CI tests for Python < 3.8
1 parent 71cd2c3 commit 97a00c1

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
os: [ubuntu-22.04, windows-2022]
27-
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12, pypy3.9, pypy3.10]
27+
python-version: [3.8, 3.9, "3.10", 3.11, 3.12, pypy3.9, pypy3.10]
2828
steps:
2929
- uses: actions/checkout@v6
3030
- uses: astral-sh/setup-uv@v7
@@ -34,10 +34,9 @@ jobs:
3434
- run: uv run python -m unittest discover -s fluent.syntax
3535
- run: uv run python -m unittest discover -s fluent.runtime
3636

37-
# Test compatibility with the oldest Python version we claim to support,
38-
# and for fluent.runtime's compatibility with a range of fluent.syntax versions.
37+
# Test fluent.runtime's compatibility with a range of fluent.syntax versions.
3938
compatibility:
40-
runs-on: ubuntu-20.04 # https://github.com/actions/setup-python/issues/544
39+
runs-on: ubuntu-22.04
4140
strategy:
4241
matrix:
4342
fluent-syntax:
@@ -49,7 +48,8 @@ jobs:
4948
- uses: actions/checkout@v6
5049
- uses: astral-sh/setup-uv@v7
5150
with:
52-
python-version: 3.6
51+
python-version: 3.8
52+
- run: uv venv --python 3.8
5353
- run: uv pip install ${{ matrix.fluent-syntax }}
5454
- run: uv pip install ./fluent.runtime
5555
- run: uv run python -m unittest discover -s fluent.runtime

fluent.runtime/pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "fluent.runtime"
33
version = "0.4.0"
4-
requires-python = ">= 3.6"
4+
requires-python = ">= 3.8"
55
dependencies = [
66
"fluent.syntax>=0.17,<0.20",
77
"attrs",
@@ -21,8 +21,6 @@ classifiers = [
2121
"Development Status :: 3 - Alpha",
2222
"Intended Audience :: Developers",
2323
"License :: OSI Approved :: Apache Software License",
24-
"Programming Language :: Python :: 3.6",
25-
"Programming Language :: Python :: 3.7",
2624
"Programming Language :: Python :: 3.8",
2725
"Programming Language :: Python :: 3.9",
2826
"Programming Language :: Python :: 3 :: Only",

fluent.syntax/pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "fluent.syntax"
33
version = "0.19.0"
4-
requires-python = ">= 3.6"
4+
requires-python = ">= 3.8"
55
dependencies = ["typing-extensions>=3.7,<5"]
66
license = { text = "Apache-2.0" }
77
description = "Localization library for expressive translations."
@@ -14,8 +14,6 @@ classifiers = [
1414
"Development Status :: 3 - Alpha",
1515
"Intended Audience :: Developers",
1616
"License :: OSI Approved :: Apache Software License",
17-
"Programming Language :: Python :: 3.6",
18-
"Programming Language :: Python :: 3.7",
1917
"Programming Language :: Python :: 3.8",
2018
"Programming Language :: Python :: 3.9",
2119
"Programming Language :: Python :: 3 :: Only",

0 commit comments

Comments
 (0)