Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnisbet committed Feb 20, 2024
1 parent fd6c694 commit 7e02973
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 29 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Container for packages that need to be built from source but have massive dev dependencies.
FROM python:3.9.17-slim-bullseye as builder
FROM python:3.11.8-slim-bookworm as builder
RUN set -e && \
apt-get update && \
apt-get install -y --no-install-recommends \
gcc \
python3.9-dev
python3.12-dev

RUN pip config set global.disable-pip-version-check true && \
pip wheel --wheel-dir=/root/wheels uwsgi==2.0.22 && \
pip wheel --wheel-dir=/root/wheels uwsgi==2.0.24 && \
pip wheel --wheel-dir=/root/wheels regex==2023.12.25

# The actual container.
FROM python:3.9.17-slim-bullseye
FROM python:3.11.8-slim-bookworm
RUN set -e && \
apt-get update && \
apt-get install -y --no-install-recommends \
Expand Down
6 changes: 4 additions & 2 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ This is a list of changes to Open Topo Data between each release.


## Version 1.9.0 (19 Feb 2024)
* Dependency upgrades
* Fix handling of preflight requests ([#93](https://github.com/ajnisbet/opentopodata/issues/93))
* Dependency upgrades, including python to 3.11 and rasterio to 1.3.9
* Add support for geojson responses ([#86](https://github.com/ajnisbet/opentopodata/pull/86), thanks [@arnesetzer](https://github.com/arnesetzer)!)
* Fix handling of preflight requests ([#93](https://github.com/ajnisbet/opentopodata/issues/93), thanks [@MaRaSu](https://github.com/MaRaSu)!)
* Fix error message bug ([#70](https://github.com/ajnisbet/opentopodata/pull/70), thanks [@khendrickx](https://github.com/khendrickx)!)



## Version 1.8.3 (7 Feb 2023)
Expand Down
7 changes: 6 additions & 1 deletion docs/notes/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,9 @@ spec:
- containerPort: 5000

restartPolicy: Always
```
```
---
Thanks to [@khintz](https://github.com/khintz) for contributing this documentation in [#57](https://github.com/ajnisbet/opentopodata/pull/57)!
4 changes: 2 additions & 2 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
black
Flask>=2.2.2
Flask>=2.2.2 # Some flask 2.0 deprecations got real.
flask-caching
geographiclib
numpy
Expand All @@ -11,5 +11,5 @@ pytest
pytest-cov
pytest-timeout
PyYAML
rasterio==1.3.8
rasterio>=1.3.8 # Avoid memory leak https://github.com/ajnisbet/opentopodata/issues/68
requests
22 changes: 2 additions & 20 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.9
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements.in
Expand Down Expand Up @@ -37,8 +37,6 @@ cligj==0.7.2
# via rasterio
coverage[toml]==7.4.1
# via pytest-cov
exceptiongroup==1.2.0
# via pytest
flask==3.0.2
# via
# -r requirements.in
Expand All @@ -49,10 +47,6 @@ geographiclib==2.0
# via -r requirements.in
idna==3.6
# via requests
importlib-metadata==7.0.1
# via
# build
# flask
iniconfig==2.0.0
# via pytest
itsdangerous==2.1.2
Expand Down Expand Up @@ -106,30 +100,18 @@ pytest-timeout==2.2.0
# via -r requirements.in
pyyaml==6.0.1
# via -r requirements.in
rasterio==1.3.8
rasterio==1.3.9
# via -r requirements.in
requests==2.31.0
# via -r requirements.in
snuggs==1.4.7
# via rasterio
tomli==2.0.1
# via
# black
# build
# coverage
# pip-tools
# pyproject-hooks
# pytest
typing-extensions==4.9.0
# via black
urllib3==2.2.1
# via requests
werkzeug==3.0.1
# via flask
wheel==0.42.0
# via pip-tools
zipp==3.17.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down

0 comments on commit 7e02973

Please sign in to comment.