Skip to content

Commit

Permalink
Remove support of python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvoncek committed Dec 18, 2024
1 parent 4112107 commit 88e63be
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 20 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ jobs:
build:
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
python-version: [3.9, "3.10", "3.11"]
include:
- python-version: 3.8
tox-py: py38
- python-version: 3.9
tox-py: py39
- python-version: "3.10"
Expand Down Expand Up @@ -101,7 +99,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
python-version: [3.9, "3.10", "3.11"]
it-backend: [local, s3, gcs, minio, azure, azure-hierarchical]
# IBM not included by default due to lite plan quota being easily exceeded
#it-backend: [local, s3, gcs, minio, ibm, azure]
Expand All @@ -127,12 +125,6 @@ jobs:
it-backend: gcs
experimental: false
java-version: 11.0.25
# explicitly include tests against python 3.8 and one version of cassandra
- python-version: 3.8
cassandra-version: 4.0.15
it-backend: gcs
experimental: false
java-version: 11.0.25
exclude:
# no tests against trunk
- cassandra-version: 'github:apache/trunk'
Expand All @@ -159,7 +151,6 @@ jobs:
- it-backend: azure-hierarchical
cassandra-version: "3.11.17"
# no tests against non-python3.9, except the explicitly allowed combinations
- python-version: 3.8
- python-version: "3.10"
- python-version: "3.11"

Expand Down Expand Up @@ -538,10 +529,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.10
- name: Set up Poetry
uses: abatilo/actions-poetry@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ You can find the Docker images for Cassandra Medusa at [https://hub.docker.com/r
Dependencies
------------

Medusa requires Python 3.8 or newer.
Medusa requires Python 3.9 or newer.

For information on the packaged dependencies of Medusa for Apache Cassandra® and their licenses, check out our [open source report](https://app.fossa.com/reports/cac72e73-1214-4e6d-8476-76567e08db21).
25 changes: 22 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ classifiers = [
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Topic :: Database",
"Topic :: System :: Archiving :: Backup"
]
Expand All @@ -39,14 +39,14 @@ include = [
]

[project]
requires-python = ">=3.10,<=3.11"
requires-python = ">=3.9,<=3.11"

[tool.poetry.scripts]
medusa = { reference = "medusa.medusacli:cli", type = "console" }
medusa-wrapper = { reference = "medusa.scripts.medusa_wrapper:main", type = "console" }

[tool.poetry.dependencies]
python = "^3.10"
python = "^3.9"
python-dateutil = "2.8.1"
click = "8.1.7"
click-aliases = "1.0.1"
Expand Down

0 comments on commit 88e63be

Please sign in to comment.