Skip to content

Commit

Permalink
Test Python 3.13 rc (#7311)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored Sep 23, 2024
1 parent f426769 commit 8c6f2d5
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 14 deletions.
7 changes: 3 additions & 4 deletions panel/io/mime_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,11 @@ def write(self, s):

def _convert_expr(expr: ast.Expr) -> ast.Expression:
"""
Converts an ast.Expr to and ast.Expression that can be compiled
Converts an ast.Expr to an ast.Expression that can be compiled
and evaled.
"""
expr.lineno = 0
expr.col_offset = 0
return ast.Expression(expr.value, lineno=0, col_offset = 0)
expr.lineno, expr.col_offset = 0, 0
return ast.Expression(expr.value)

_OUT_BUFFER = []

Expand Down
35 changes: 25 additions & 10 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test-310 = ["py310", "test-core", "test", "example", "test-example", "test-unit-
test-311 = ["py311", "test-core", "test", "example", "test-example", "test-unit-task"]
test-312 = ["py312", "test-core", "test", "example", "test-example", "test-unit-task"]
test-ui = ["py312", "test-core", "test", "test-ui"]
test-core = ["py312", "test-core", "test-unit-task"]
test-core = ["py313", "test-core", "test-unit-task"]
test-type = ["py311", "type"]
docs = ["py311", "example", "doc"]
build = ["py311", "build"]
Expand All @@ -41,15 +41,6 @@ pyviz_comms = ">=2.0.0"
requests = "*"
tqdm = ">=4.48.0"
typing_extensions = "*"
# Recommended
holoviews = ">=1.16.0"
jupyterlab = "*"
matplotlib-base = "*"
pillow = "*"
plotly = ">=4.0"
# Standard
watchfiles = "*"
bokeh_sampledata = "*"

[feature.py310.dependencies]
python = "3.10.*"
Expand All @@ -60,9 +51,23 @@ python = "3.11.*"
[feature.py312.dependencies]
python = "3.12.*"

[feature.py313]
channels = ["pyviz/label/dev", "conda-forge/label/python_rc", "conda-forge"]

[feature.py313.dependencies]
python = "3.13.*"

[feature.example.dependencies]
# Optional dependencies - recommended
holoviews = ">=1.16.0"
jupyterlab = "*"
matplotlib-base = "*"
pillow = "*"
plotly = ">=4.0"
# Example dependencies
aiohttp = "*"
altair = "*"
bokeh_sampledata = "*"
croniter = "*"
dask-expr = "*"
datashader = "*"
Expand Down Expand Up @@ -109,8 +114,18 @@ pytest-rerunfailures = "*"
pytest-xdist = "*"

[feature.test.dependencies]
# Optional dependencies - recommended
holoviews = ">=1.16.0"
jupyterlab = "*"
matplotlib-base = "*"
pillow = "*"
plotly = ">=4.0"
# Optional dependencies - dev
watchfiles = "*"
# Test dependencies
altair = "*"
anywidget = "*"
bokeh_sampledata = "*"
diskcache = "*"
fastapi = "*"
folium = "*"
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
Expand Down

0 comments on commit 8c6f2d5

Please sign in to comment.