Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support python 3.13 #720

Merged
merged 3 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading