Skip to content

Commit

Permalink
Update CI matrix to use Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Jan 10, 2025
1 parent d0e647d commit 22c9463
Show file tree
Hide file tree
Showing 30 changed files with 43 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- master

env:
DEFAULT_PYTHON: '3.12'
DEFAULT_PYTHON: '3.13'

permissions:
contents: read
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ concurrency:
cancel-in-progress: true

env:
# flake8-commas is failing on Python 3.12
# as well as bandit https://github.com/PyCQA/bandit/issues/1077
DEFAULT_PYTHON: '3.11'
DEFAULT_PYTHON: '3.13'

jobs:
linters:
Expand Down Expand Up @@ -66,6 +64,8 @@ jobs:
-r requirements/spark.txt \
-r requirements/webdav.txt
pip install -U flake8-commas
# Set the `CODEQL-PYTHON` environment variable to the Python executable
# that includes the dependencies
echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/data/clickhouse/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ max: &max
clickhouse-version: 24.11-alpine
spark-version: 3.5.4
pydantic-version: 2
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand All @@ -22,7 +22,7 @@ latest: &latest
clickhouse-version: latest-alpine
spark-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/data/core/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ max: &max
latest: &latest
spark-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/data/ftp/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ max: &max

latest: &latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
os: ubuntu-latest

matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/data/ftps/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ max: &max

latest: &latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
os: ubuntu-latest

matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/data/hdfs/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ latest: &latest
hadoop-version: hadoop3-hdfs
spark-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/data/hive/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ min: &min
max: &max
spark-version: 3.5.4
pydantic-version: 2
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

latest: &latest
spark-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/data/kafka/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ max: &max
kafka-version: 3.9.0
pydantic-version: 2
spark-version: 3.5.4
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

latest: &latest
kafka-version: latest
pydantic-version: latest
spark-version: latest
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/data/local-fs/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ min_excel: &min_excel
max: &max
spark-version: 3.5.4
pydantic-version: 2
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

latest: &latest
spark-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/data/mongodb/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ max: &max
mongodb-version: 8.0.3
spark-version: 3.5.4
pydantic-version: 2
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

latest: &latest
mongodb-version: latest
spark-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/data/mssql/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ max: &max
mssql-version: 2022-latest
spark-version: 3.5.4
pydantic-version: 2
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

latest: &latest
mssql-version: latest
spark-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/data/mysql/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ max: &max
mysql-version: 9.1.0
spark-version: 3.5.4
pydantic-version: 2
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

latest: &latest
mysql-version: latest
spark-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/data/oracle/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ max: &max
db-name: FREEPDB1
spark-version: 3.5.4
pydantic-version: 2
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand All @@ -24,7 +24,7 @@ latest: &latest
db-name: FREEPDB1
spark-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/data/postgres/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ max: &max
postgres-version: 17.2-alpine
spark-version: 3.5.4
pydantic-version: 2
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

latest: &latest
postgres-version: alpine
spark-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/data/s3/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ latest: &latest
minio-version: latest
spark-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/data/samba/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ min: &min
max: &max
server-version: latest
pydantic-version: 2
python-version: '3.12'
python-version: '3.13'
os: ubuntu-latest

latest: &latest
server-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
os: ubuntu-latest

matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/data/sftp/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ max: &max
latest: &latest
openssh-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
os: ubuntu-latest

matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/data/teradata/matrix.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
max: &max
spark-version: 3.5.4
pydantic-version: 2
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

latest: &latest
spark-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
java-version: 20
os: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/data/webdav/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ max: &max
latest: &latest
webdav-version: latest
pydantic-version: latest
python-version: '3.12'
python-version: '3.13'
os: ubuntu-latest

matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
workflow_dispatch:

env:
DEFAULT_PYTHON: '3.12'
DEFAULT_PYTHON: '3.13'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/get-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ on:
value: ${{ jobs.get-matrix.outputs.matrix-webdav }}

env:
DEFAULT_PYTHON: '3.12'
DEFAULT_PYTHON: '3.13'

jobs:
get-matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true

env:
DEFAULT_PYTHON: '3.12'
DEFAULT_PYTHON: '3.13'

jobs:
get-matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- '[0-9]+.[0-9]+.[0-9]+'

env:
DEFAULT_PYTHON: '3.12'
DEFAULT_PYTHON: '3.13'

jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
cancel-in-progress: true

env:
DEFAULT_PYTHON: '3.12'
DEFAULT_PYTHON: '3.13'

jobs:
get-matrix:
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.12"
python: "3.13"
jobs:
post_checkout:
- git fetch --unshallow || true
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Non-goals
Requirements
------------

* **Python 3.7 - 3.12**
* **Python 3.7 - 3.13**
* PySpark 2.3.x - 3.5.x (depends on used connector)
* Java 8+ (required by Spark, see below)
* Kerberos libs & GCC (required by ``Hive``, ``HDFS`` and ``SparkHDFS`` connectors)
Expand Down
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ coverage:
status:
project:
default:
target: 91%
target: 90%
threshold: 1%
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12-slim as base
FROM python:3.13-slim as base
LABEL maintainer="DataOps.ETL"

ARG ONETL_USER_HOME=/usr/local/onetl
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def parse_requirements(file: Path) -> list[str]:
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Java Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down

0 comments on commit 22c9463

Please sign in to comment.