Skip to content

Commit 90bc515

Browse files
committed
drop python 3.8 support
1 parent 241a4ca commit 90bc515

6 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os: [ubuntu-latest]
24-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
24+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2525
requirements-file: ["requirements.txt"]
2626
runs-on: ${{ matrix.os }}
2727
steps:
@@ -68,11 +68,11 @@ jobs:
6868
if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\.[0-9]+\.[0-9]+(rc[0-9]*)?$ ]]; then
6969
echo "match=true" >> $GITHUB_OUTPUT
7070
fi
71-
- name: Set up Python 3.8
71+
- name: Set up Python 3.13
7272
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
7373
uses: actions/setup-python@v5
7474
with:
75-
python-version: 3.8
75+
python-version: 3.13
7676
- name: Install pypa/build
7777
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
7878
run: >-
@@ -106,10 +106,10 @@ jobs:
106106
needs: [build-n-test]
107107
steps:
108108
- uses: actions/checkout@v4
109-
- name: Set up Python 3.8
109+
- name: Set up Python 3.13
110110
uses: actions/setup-python@v5
111111
with:
112-
python-version: 3.8
112+
python-version: 3.13
113113
- name: Install dependencies to build docs
114114
run: |
115115
python -m pip install --upgrade pip

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ OpusFilter is a tool for filtering and processing parallel corpora. It's written
3030

3131
### General Rules
3232
- Follow PEP 8 with a maximum line length of 127 characters (not 79)
33-
- Support Python 3.8 to 3.13
33+
- Support Python 3.9 to 3.14
3434
- Use type hints where appropriate (see existing code for patterns)
3535
- Maintain backward compatibility when possible
3636
- Do not add trailing whitespace

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Install from source:
2525

2626
### Troubleshooting
2727

28-
OpusFilter should generally work fine on Python 3.8 to 3.14. In the case of troubles, try installing the exact versions in `requirements.txt`:
28+
OpusFilter should generally work fine on Python 3.9 to 3.14. In the case of troubles, try installing the exact versions in `requirements.txt`:
2929

3030
* `pip install -r requirements.txt`
3131

docs/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ issues page. We are also happy to consider pull requests. There are a
55
few rules for pull requests:
66

77
* Make a pull request to the `develop` branch instead of `master`.
8-
* The code should support at least Python versions from 3.8 to 3.14.
8+
* The code should support at least Python versions from 3.9 to 3.14.
99
* Please follow [PEP 8](https://www.python.org/dev/peps/pep-0008/). Exception: The maximum line length is 127 characters instead of 79.
1010
* Especially for new features, please include test cases for unit testing.
1111

@@ -19,7 +19,7 @@ work, if you have VariKN and eflomal set up as instructed - `pytest`
1919
skips the respective tests if not.)
2020

2121
GitHub workflows defined in the project run automatically `flake8`
22-
checks and unit testing with `pytest` using Python 3.8, 3.9, 3.10,
22+
checks and unit testing with `pytest` using Python 3.9, 3.10,
2323
3.11, 3.12, and 3.14.
2424

2525
Especially for larger contributions, consider using a code analysis

docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Install from source:
1212

1313
Note that all required libraries are not available to install via PyPI
1414
on Windows OS. On Linux and MacOS, it should work directly for Python
15-
versions from 3.8 to 3.14.
15+
versions from 3.9 to 3.14.
1616

1717
## Required libraries
1818

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ classifiers = [
3636
"Topic :: Scientific/Engineering :: Artificial Intelligence",
3737
"Topic :: Text Processing :: Linguistic",
3838
"Programming Language :: Python :: 3",
39-
"Programming Language :: Python :: 3.8",
4039
"Programming Language :: Python :: 3.9",
4140
"Programming Language :: Python :: 3.10",
4241
"Programming Language :: Python :: 3.11",
4342
"Programming Language :: Python :: 3.12",
4443
"Programming Language :: Python :: 3.13",
44+
"Programming Language :: Python :: 3.14",
4545
"Operating System :: OS Independent",
4646
]
47-
requires-python = ">=3.8"
47+
requires-python = ">=3.9"
4848
dependencies = [
4949
"setuptools",
5050
"opustools>=1.8.3",
@@ -172,7 +172,7 @@ line_length = 127
172172
multi_line_output = 3
173173

174174
[tool.mypy]
175-
python_version = "3.8"
175+
python_version = "3.9"
176176
warn_return_any = true
177177
warn_unused_configs = true
178178
ignore_missing_imports = true

0 commit comments

Comments
 (0)