Skip to content

Commit 3bffd52

Browse files
Upgraded to Python 3.11. Also upgraded numba for memory leak, as well as datashader, georgio, and fastapi.
1 parent 80585be commit 3bffd52

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
python-version: ['3.10']
17+
python-version: ['3.10','3.11']
1818
os: [ubuntu-latest]
1919

2020
steps:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10 AS builder
1+
FROM python:3.11 AS builder
22

33
ENV PIP_ROOT_USER_ACTION=ignore
44

@@ -11,7 +11,7 @@ COPY elastic_datashader /build/elastic_datashader
1111
WORKDIR /build/elastic_datashader
1212
RUN poetry build
1313

14-
FROM python:3.10 AS deployment
14+
FROM python:3.11 AS deployment
1515
LABEL maintainer="foss@spectric.com"
1616
RUN useradd -d /home/datashader datashader && \
1717
mkdir -p /home/datashader /opt/elastic_datashader/tms-cache && \

pyproject.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ elastic_datashader = "elastic_datashader.cli:main"
2323
python = ">=3.10,<4"
2424
elasticsearch = "7.17.4"
2525
elasticsearch-dsl = "7.4.0"
26-
datashader = "0.14.2"
26+
datashader = "0.15.0"
2727
pandas = "^1.5.3"
2828
colorcet = "^3.0.1"
2929
mercantile = "1.2.1"
@@ -32,13 +32,14 @@ Pillow = "*"
3232
pynumeral = "*"
3333
arrow = "*"
3434
python-datemath = "*"
35-
numba = "0.56.4"
35+
numba = "0.57.0"
3636
numpy = "^1.23"
3737
PyYAML = "*"
3838
humanize = "*"
3939
uvicorn = {extras = ["standard"], version = "^0.18.2", optional = true}
40-
fastapi = "^0.86"
41-
georgio = "2023.119.77"
40+
fastapi = "^0.96"
41+
georgio = "2023.156.924"
42+
jinja2 = "3.1.2"
4243

4344
[tool.poetry.dev-dependencies]
4445
pytest = "*"
@@ -64,13 +65,14 @@ line-length = 150
6465
[tool.tox]
6566
legacy_tox_ini = """
6667
[tox]
67-
envlist = py310
68+
envlist = py311
6869
isolated_build = true
6970
recreate = true
7071
7172
[gh-actions]
7273
python =
7374
3.10: py310
75+
3.11: py311
7476
7577
[testenv]
7678
setenv =

0 commit comments

Comments
 (0)