Skip to content

Commit

Permalink
fix: remove python3.8 support
Browse files Browse the repository at this point in the history
aiohttp has conflicting requirements for latest updates, where python3.8
is deprecated. Remove 3.8 support to simplify the requirements to take
latest.

Signed-off-by: Mike Marchetti <[email protected]>
  • Loading branch information
mfmarche committed Nov 9, 2024
1 parent a2c3165 commit 3d67f16
Show file tree
Hide file tree
Showing 5 changed files with 493 additions and 583 deletions.
20 changes: 13 additions & 7 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@ version: 2
sphinx:
configuration: docs/conf.py

python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs
build:
os: "ubuntu-22.04"
tools:
python: "3.9"
jobs:
post_create_environment:
# Install poetry
- python -m pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install dependencies with 'docs' dependency group
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry install --with docs --all-extras
7 changes: 7 additions & 0 deletions Dockerfile3.9
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM python:3.9

RUN : \
&& apt update \
&& apt install -y python3 curl \
&& curl -sSL https://install.python-poetry.org | python3 - \
&& pip install tox pre-commit pytest black python-dateutil commitizen
Loading

0 comments on commit 3d67f16

Please sign in to comment.