Skip to content

Commit

Permalink
Merge pull request #720 from FabienArcellier/enable-python-3-13
Browse files Browse the repository at this point in the history
feat: support python 3.13
  • Loading branch information
ramedina86 authored Feb 3, 2025
2 parents a2e2747 + 467fe31 commit 7de351f
Show file tree
Hide file tree
Showing 7 changed files with 441 additions and 361 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: macos-latest-large
strategy:
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Pull requests should be done on the `dev` branch. When the release is finalised,

Whether you're interested in contributing to the repository, creating a fork, or just improving your understanding of Writer Framework, these are the suggested steps for setting up a development environment.

- You can install the package in editable mode using `poetry install`
- You can install the package in editable mode using `poetry install --with build`
- Enable the virtual environment with `poetry shell`
- Install all the dev dependencies with `alfred install.dev`
- Run Writer Framework on port 5000. For example, `writer edit apps/hello --port 5000`.
4 changes: 2 additions & 2 deletions alfred/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
def install_dev():
alfred.run("poetry install --with build")
alfred.run("npm ci")
alfred.invoke_command("npm.codegen")
alfred.run("npm run build")

@alfred.command("install.ci", help="install ci dependencies and generate code", hidden=True)
def install_ci():
alfred.run("npm ci")
alfred.invoke_command("npm.codegen")
alfred.run("npm run build")
783 changes: 430 additions & 353 deletions poetry.lock

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ gitignore-parser = "^0.1.11"
jinja2 = "^3.1.4"
pandas = ">= 2.2.0, < 3"
plotly = "^5.24.1"
pyarrow = ">= 15.0.0, < 16.0.0"
pyarrow = ">= 15.0.0, < 19.0.0"
pydantic = ">= 2.6.0, < 3"
numpy = [
{version = "<=2.0.2", python = "<3.10"},
{version = "^2.0", python = ">=3.10"}
]
python = ">=3.9.2, <4.0"
python-dateutil = "^2.9.0.post0"
pytz = "^2024.1"
Expand All @@ -61,7 +65,6 @@ pandas = ">= 2.2.0, < 3"
pandas-stubs = ">= 2.0.0, <3"
plotly = ">= 5.18.0, < 6"
polars = "^0.20.15"
pyarrow = ">= 15.0.0, < 16.0.0"
pytest = ">= 7.0.0, < 8"
pytest-asyncio = ">= 0.23.4, < 1"
ruff = "^0.3.4"
Expand Down

0 comments on commit 7de351f

Please sign in to comment.