Skip to content

Commit

Permalink
chore: add support for python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
kod-kristoff committed Mar 27, 2024
1 parent f82b683 commit 3a9875b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
contents: read

env:
MINIMUM_PYTHON_VERSION: "3.9"
MINIMUM_PYTHON_VERSION: "3.8"

# If new code is pushed to a PR branch, then cancel in progress workflows for that PR. Ensures that
# we don't waste CI time, and returns results quicker https://github.com/jonhoo/rust-ci-conf/pull/5
Expand All @@ -22,7 +22,7 @@ concurrency:
jobs:
fmt:
runs-on: ubuntu-latest
name: ubuntu / 3.9 / fmt
name: ubuntu / 3.8 / fmt
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -49,7 +49,7 @@ jobs:
run: make check-fmt
lint:
runs-on: ubuntu-latest
name: ubuntu / 3.9 / lint
name: ubuntu / 3.8 / lint
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -72,7 +72,7 @@ jobs:
run: make lint
type-check:
runs-on: ubuntu-latest
name: ubuntu / 3.9 / type-check
name: ubuntu / 3.8 / type-check
steps:
- uses: actions/checkout@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-viklofg-sweocr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ permissions:
contents: read

env:
MINIMUM_PYTHON_VERSION: "3.9"
MINIMUM_PYTHON_VERSION: "3.8"

jobs:
build:
# This action builds distribution files for upload to PyPI

name: ubuntu / 3.9 / build
name: ubuntu / 3.8 / build
runs-on: ubuntu-latest
steps:
#----------------------------------------------
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
# This action runs the test suite on the built artifact in the `build` action.
# The default is to run this in ubuntu, macos and windows

name: ${{ matrix.os }} / 3.9 / test built artifact
name: ${{ matrix.os }} / 3.8 / test built artifact
needs: [build]

strategy:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
contents: read

env:
MINIMUM_PYTHON_VERSION: "3.9"
MINIMUM_PYTHON_VERSION: "3.8"

jobs:

Expand All @@ -32,7 +32,7 @@ jobs:
os: [ubuntu]
python-version:
# remove the unused versions
- "3.9"
- "3.8"
- "3.10"
- "3.11"
- "3.12"
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
#

runs-on: ubuntu-latest
name: ubuntu / 3.9 / minimal-versions
name: ubuntu / 3.8 / minimal-versions
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 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.9"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
# "Development Status :: 4 - Beta",
Expand Down
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.9,<3.12"
requires-python = ">=3.8"
version = "0.0.0"

[tool.pdm.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target-version = "py39"
target-version = "py38"

[lint]
select = [
Expand Down

0 comments on commit 3a9875b

Please sign in to comment.