Skip to content

Commit

Permalink
chore: don't support 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
kod-kristoff committed Mar 27, 2024
1 parent b948579 commit e4e4774
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 477 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
nightly:
runs-on: ubuntu-latest
name: ubuntu / 3.13-dev
continue-on-error: true # allow failure until py3.8 is dropped
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -54,6 +55,7 @@ jobs:
# There's no point running this if no Cargo.lock was checked in in the first place, since we'd
# just redo what happened in the regular test job. Unfortunately, hashFiles only works in if on
# steps, so we repeat it.
continue-on-error: true # allow failure until py3.8 is dropped
steps:
- uses: actions/checkout@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ jobs:
python-version:
# remove the unused versions
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
# - "3.12"

runs-on: ${{ matrix.os }}-latest
env:
Expand Down
146 changes: 1 addition & 145 deletions ocr-correction-viklofg-sweocr/pdm.lock

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion ocr-correction-viklofg-sweocr/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [
dependencies = ["sparv-pipeline >=5.2.0", "transformers>=4.34.1"]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.8,<3.12"
classifiers = [
"Development Status :: 3 - Alpha",
# "Development Status :: 4 - Beta",
Expand All @@ -18,6 +18,11 @@ classifiers = [
"Operating System :: Unix",
"Operating System :: POSIX",
# "Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
# "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
# "uncomment if you test on these interpreters:",
# "Programming Language :: Python :: Implementation :: IronPython",
Expand Down
146 changes: 1 addition & 145 deletions ocr-correction-viklofg-sweocr/tests/requirements-testing.lock

Large diffs are not rendered by default.

186 changes: 2 additions & 184 deletions pdm.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "sparv-sbx-ocr-correction-workspace"
dependencies = []
requires-python = ">=3.8"
requires-python = ">=3.8,<3.12"
version = "0.0.0"

[tool.pdm.dev-dependencies]
Expand Down

0 comments on commit e4e4774

Please sign in to comment.