From 6918468159f684ab0af8a0d228bd47189990382f Mon Sep 17 00:00:00 2001 From: Raine Ekman Date: Fri, 17 Jan 2025 13:01:32 +0200 Subject: [PATCH 1/2] Fix installing on Ubuntu 22.4 through pinning astroid, see https://github.com/sphinx-extensions2/sphinx-autodoc2/issues/31#issuecomment-1762316427 Also fix a minimal discrepancy in install instructions. --- docs/install.rst | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/install.rst b/docs/install.rst index 983703f..e934f00 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -51,7 +51,7 @@ Install .. code-block:: bash python3 -m venv ghc && cd ghc - source ghc/bin/activate + source ./bin/activate git clone https://github.com/geopython/GeoHealthCheck.git cd GeoHealthCheck diff --git a/requirements.txt b/requirements.txt index 4968d1e..01b0156 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +astroid==2.15.8 Jinja2==3.0.3 markupsafe==2.0.1 Flask==1.1.1 From f9ef1f4fe65643b628725f5f0ed4e127a565a880 Mon Sep 17 00:00:00 2001 From: Raine Ekman Date: Fri, 17 Jan 2025 13:42:16 +0200 Subject: [PATCH 2/2] Fix install on Ubuntu 24.4 through bumping lxml version. --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 01b0156..f4bb644 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -astroid==2.15.8 +astroid==2.15.8 # https://github.com/sphinx-extensions2/sphinx-autodoc2/issues/31 Jinja2==3.0.3 markupsafe==2.0.1 Flask==1.1.1 @@ -10,7 +10,7 @@ SQLAlchemy==1.3.8 Flask-SQLAlchemy==2.4.0 itsdangerous==1.1.0 pyproj >=2.6.1 -lxml >= 4.8.0, <= 4.9.2 +lxml >= 4.8.0, <= 4.9.4 OWSLib==0.20.0 jsonschema==3.0.2 # downgrade from 3.2.0 on sept 29, 2020, issue 331, consider better fix openapi-spec-validator==0.2.8