Skip to content

Commit

Permalink
feat: Add python 3.13 to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoandre-avaiga committed Dec 10, 2024
1 parent 9cc59f2 commit ab9b068
Show file tree
Hide file tree
Showing 12 changed files with 99 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dependencies-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest]
permissions:
contents: write
Expand Down Expand Up @@ -50,8 +50,8 @@ jobs:
echo EOF >> "$GITHUB_OUTPUT"
cat pipfiles/Pipfile${{matrix.python-version}}.max
- name: Create the pull request updating the dependencies (3.12 only)
if: steps.ensure-dependencies-are-up-to-date.outputs.diff != '' && matrix.python-version == '3.12'
- name: Create the pull request updating the dependencies (3.13 only)
if: steps.ensure-dependencies-are-up-to-date.outputs.diff != '' && matrix.python-version == '3.13'
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -67,7 +67,7 @@ jobs:
tools/packages/taipy*/*requirements.txt
- name: Create the pull request updating the Pipfile max
if: steps.ensure-dependencies-are-up-to-date.outputs.diff != '' && matrix.python-version != '3.12'
if: steps.ensure-dependencies-are-up-to-date.outputs.diff != '' && matrix.python-version != '3.13'
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/overall-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, windows-latest, macos-13]
pipfile-version: ['min', 'max']
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, windows-latest, macos-13]
orchestrator: ['orchestrator_dispatcher', 'standalone']
pipfile-version: ['min', 'max']
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
python-versions: ['3.9', '3.10', '3.11', '3.12']
python-versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, macos-13, windows-latest]

runs-on: ${{ matrix.os }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/partial-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, windows-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12','3.13']
os: [ubuntu-latest, windows-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, windows-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
python-versions: ['3.9','3.10', '3.11', '3.12']
python-versions: ['3.9','3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest,windows-latest,macos-13]
runs-on: ${{ matrix.os }}
steps:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version", "dependencies"]

Expand Down
2 changes: 1 addition & 1 deletion taipy/common/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version", "dependencies"]

Expand Down
1 change: 1 addition & 0 deletions taipy/core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version", "dependencies"]

Expand Down
1 change: 1 addition & 0 deletions taipy/gui/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version", "dependencies"]

Expand Down
1 change: 1 addition & 0 deletions taipy/rest/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version", "dependencies"]

Expand Down
1 change: 1 addition & 0 deletions taipy/templates/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version", "dependencies"]

Expand Down
82 changes: 82 additions & 0 deletions tools/packages/pipfiles/Pipfile3.13.max
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[dev-packages]
freezegun = "*"
ipython = "*"
ipykernel = "*"
mkdocs = "*"
mkdocs-autorefs = "*"
mkdocs-include-markdown-plugin = "*"
mkdocs-macros-plugin = "*"
mkdocs-material = "==7.3.0"
mkdocs-material-extensions = "*"
mkdocstrings = "*"
mongomock = "*"
requests = "*"
ruff = "*"
pandas-stubs = "*"
playwright = "*"
pre-commit = "*"
pyopenssl = "*"
pytest = "==7.4.3"
pytest-cov = "*"
pytest-mock = "*"
pytest-playwright = "*"
pytest-timeout = "*"
python-dotenv = "*"
testbook = "*"
tox = "*"
twine = "*"
types-flask = "*"
types-Flask-Cors = "*"
types-Markdown = "*"
types-python-dateutil = "*"
types-pytz = "*"
types-toml = ">=0.10.0"
types-tzlocal = "*"

[requires]
python_version = "3"

[pipenv]
allow_prereleases = false

[dev-packages.moto]
extras = [ "s3",]
version = "==4.2.13"


[packages]
"pyarrow" = {version="==18.1.0"}
"networkx" = {version="==3.4.2", markers="python_version>'3.8'"}
"openpyxl" = {version="==3.1.5"}
"pandas" = {version="==2.2.3", markers="python_version>'3.8'"}
"pymongo" = {version="==4.10.1", extras=["srv"]}
"sqlalchemy" = {version="==2.0.36"}
"toml" = {version="==0.10.2"}
"boto3" = {version="==1.35.71"}
"cookiecutter" = {version="==2.6.0"}
"flask" = {version="==3.1.0"}
"flask-cors" = {version="==5.0.0"}
"flask-socketio" = {version="==5.4.1"}
"markdown" = {version="==3.7"}
"python-dotenv" = {version="==1.0.1"}
"pytz" = {version="==2024.2"}
"tzlocal" = {version="==5.2"}
"gevent" = {version="==24.11.1"}
"gevent-websocket" = {version="==0.10.1"}
"kthread" = {version="==0.2.3"}
"gitignore-parser" = {version="==0.1.11"}
"simple-websocket" = {version="==1.1.0"}
"twisted" = {version="==24.10.0"}
"deepdiff" = {version="==8.0.1"}
"flask-restful" = {version="==0.3.10"}
"passlib" = {version="==1.7.4"}
"marshmallow" = {version="==3.23.1"}
"apispec" = {version="==6.7.1", extras=["yaml"]}
"apispec-webframeworks" = {version="==1.2.0"}
"watchdog" = {version="==6.0.0"}
"charset-normalizer" = {version="==3.4.0"}

0 comments on commit ab9b068

Please sign in to comment.