diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1603e6edab..2d051e820f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python_version: ["3.10"] + python_version: ["3.8"] fail-fast: false # Don't cancel all jobs if one fails runs-on: ${{ matrix.os }} @@ -61,7 +61,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.8" - name: Install dependencies run: make deps @@ -82,7 +82,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.8" - name: Install dependencies run: make deps diff --git a/.github/workflows/close-talk-issues.yml b/.github/workflows/close-talk-issues.yml index 53e50e9084e..92d68799552 100644 --- a/.github/workflows/close-talk-issues.yml +++ b/.github/workflows/close-talk-issues.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.8" - name: Install ghapi to interact with the GitHub REST API run: | diff --git a/.github/workflows/external_link_check.yml b/.github/workflows/external_link_check.yml index cff063fc3f6..263dd16dfae 100644 --- a/.github/workflows/external_link_check.yml +++ b/.github/workflows/external_link_check.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.8" - name: Install dependencies run: make deps diff --git a/.github/workflows/lorem-ipsums.yml b/.github/workflows/lorem-ipsums.yml index 5e7bf623c7d..d3cdd042514 100644 --- a/.github/workflows/lorem-ipsums.yml +++ b/.github/workflows/lorem-ipsums.yml @@ -28,10 +28,10 @@ jobs: # Checkout the repository. Relies on another GH-Action. - uses: actions/checkout@v3 # Set up the Python version. Relies on another GH-Action. - - name: Setup Python 3.10 + - name: Setup Python 3.8 uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.8" # Install Python dependencies - name: Install dependencies working-directory: ./tests diff --git a/.github/workflows/no-bad-latin.yml b/.github/workflows/no-bad-latin.yml index b39a7e215db..d75743ce8a9 100644 --- a/.github/workflows/no-bad-latin.yml +++ b/.github/workflows/no-bad-latin.yml @@ -28,10 +28,10 @@ jobs: # Checkout the repository. Relies on another GH-Action. - uses: actions/checkout@v3 # Set up the Python version. Relies on another GH-Action. - - name: Setup Python 3.10 + - name: Setup Python 3.8 uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.8" # Install Python dependencies - name: Install dependencies working-directory: ./tests diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml index 6c91204bb7b..065e987f385 100644 --- a/.github/workflows/yamllint.yaml +++ b/.github/workflows/yamllint.yaml @@ -17,10 +17,10 @@ jobs: - name: Checkout repo uses: actions/checkout@v3 - - name: Setup Python 3.10 + - name: Setup Python 3.8 uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.8" - name: Install yamllint via pip run: | diff --git a/book/website/community-handbook/local-build.md b/book/website/community-handbook/local-build.md index 6b9d502dccd..2a4faab23ce 100644 --- a/book/website/community-handbook/local-build.md +++ b/book/website/community-handbook/local-build.md @@ -22,7 +22,7 @@ You will need to locate your "terminal" or "prompt" application on your machine. 3. Create a new environment and install a modern version of Python into it: ```console - conda create --name the-turing-way python=3.10 + conda create --name the-turing-way python=3.8 ``` 4. Activate the environment with: diff --git a/book/website/requirements.txt b/book/website/requirements.txt index a5f9c4ed791..49a0ee41596 100644 --- a/book/website/requirements.txt +++ b/book/website/requirements.txt @@ -1,345 +1,115 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile -# accessible-pygments==0.0.4 - # via pydata-sphinx-theme -alabaster==0.7.16 - # via sphinx -appnope==0.1.3 - # via ipykernel +alabaster==0.7.13 asttokens==2.4.1 - # via stack-data attrs==21.4.0 - # via - # jsonschema - # jupyter-cache - # markdown-it-py -babel==2.14.0 - # via - # pydata-sphinx-theme - # sphinx +Babel==2.14.0 +backcall==0.2.0 beautifulsoup4==4.12.3 - # via pydata-sphinx-theme branca==0.7.0 - # via - # datascience - # folium +build==1.0.3 certifi==2023.11.17 - # via requests charset-normalizer==3.3.2 - # via requests click==8.1.7 - # via - # jupyter-book - # jupyter-cache - # sphinx-external-toc +colorama==0.4.6 comm==0.2.1 - # via ipykernel -contourpy==1.2.0 - # via matplotlib +contourpy==1.1.1 cycler==0.12.1 - # via matplotlib datascience==0.17.6 - # via -r requirements.in debugpy==1.8.0 - # via ipykernel decorator==5.1.1 - # via ipython -docutils==0.18.1 - # via - # jupyter-book - # myst-parser - # pybtex-docutils - # pydata-sphinx-theme - # sphinx - # sphinx-panels - # sphinx-togglebutton - # sphinxcontrib-bibtex -exceptiongroup==1.2.0 - # via ipython +docutils==0.17.1 executing==2.0.1 - # via stack-data fastjsonschema==2.19.1 - # via nbformat folium==0.15.1 - # via - # -r requirements.in - # datascience fonttools==4.47.2 - # via matplotlib +greenlet==3.0.3 idna==3.6 - # via requests imagesize==1.4.1 - # via sphinx importlib-metadata==7.0.1 - # via - # jupyter-cache - # myst-nb +importlib-resources==6.1.1 ipykernel==6.29.0 - # via myst-nb -ipython==8.20.0 - # via - # datascience - # ipykernel - # myst-nb +ipython==8.12.3 jedi==0.19.1 - # via ipython -jinja2==3.1.3 - # via - # -r requirements.in - # branca - # folium - # jupyter-book - # myst-parser - # sphinx +Jinja2==3.1.3 jsonschema==4.17.3 - # via - # jupyter-book - # nbformat jupyter-book==0.15.1 - # via -r requirements.in jupyter-cache==0.6.1 - # via myst-nb -jupyter-client==8.6.0 - # via - # ipykernel - # nbclient -jupyter-core==5.7.1 - # via - # ipykernel - # jupyter-client - # nbclient - # nbformat +jupyter_client==8.6.0 +jupyter_core==5.7.1 kiwisolver==1.4.5 - # via matplotlib latexcodec==2.0.1 - # via pybtex linkify-it-py==2.0.2 - # via jupyter-book markdown-it-py==1.1.0 - # via - # mdit-py-plugins - # myst-parser - # pathways -markupsafe==2.1.4 - # via jinja2 -matplotlib==3.8.2 - # via - # -r requirements.in - # datascience +MarkupSafe==2.1.4 +matplotlib==3.7.4 matplotlib-inline==0.1.6 - # via - # ipykernel - # ipython mdit-py-plugins==0.3.5 - # via myst-parser mdutils==1.6.0 - # via pathways myst-nb==0.17.2 - # via jupyter-book myst-parser==0.18.1 - # via myst-nb nbclient==0.7.4 - # via - # jupyter-cache - # myst-nb nbformat==5.9.2 - # via - # jupyter-cache - # myst-nb - # nbclient nest-asyncio==1.6.0 - # via ipykernel -numpy==1.26.3 - # via - # -r requirements.in - # contourpy - # datascience - # folium - # matplotlib - # pandas - # scipy +numpy==1.24.4 packaging==23.2 - # via - # ipykernel - # matplotlib - # plotly - # pydata-sphinx-theme - # sphinx -pandas==2.2.0 - # via - # -r requirements.in - # datascience +pandas==2.0.3 parso==0.8.3 - # via jedi -pathways @ git+https://github.com/the-turing-way/pathways.git@v0.1.0 - # via -r requirements.in -pexpect==4.9.0 - # via ipython +pathways @ git+https://github.com/the-turing-way/pathways.git@cc10ed95a5f8b2ea7efe73734f37335ab1871791 +pickleshare==0.7.5 pillow==10.2.0 - # via matplotlib +pip-tools==7.3.0 +pkgutil_resolve_name==1.3.10 platformdirs==4.1.0 - # via jupyter-core plotly==5.18.0 - # via datascience prompt-toolkit==3.0.43 - # via ipython psutil==5.9.8 - # via ipykernel -ptyprocess==0.7.0 - # via pexpect pure-eval==0.2.2 - # via stack-data pybtex==0.24.0 - # via - # pybtex-docutils - # sphinxcontrib-bibtex pybtex-docutils==1.0.3 - # via sphinxcontrib-bibtex -pydata-sphinx-theme==0.15.2 - # via sphinx-book-theme -pygments==2.17.2 - # via - # accessible-pygments - # ipython - # pydata-sphinx-theme - # sphinx +pydata-sphinx-theme==0.13.3 +Pygments==2.17.2 pyparsing==3.1.1 - # via matplotlib +pyproject_hooks==1.0.0 pyrsistent==0.20.0 - # via jsonschema python-dateutil==2.8.2 - # via - # jupyter-client - # matplotlib - # pandas -pytz==2023.3.post1 - # via pandas -pyyaml==6.0.1 - # via - # jupyter-book - # jupyter-cache - # myst-nb - # myst-parser - # pathways - # pybtex - # sphinx-external-toc +pytz==2023.4 +pywin32==306 +PyYAML==6.0.1 pyzmq==25.1.2 - # via - # ipykernel - # jupyter-client requests==2.31.0 - # via - # folium - # sphinx -scipy==1.12.0 - # via datascience +scipy==1.10.1 six==1.16.0 - # via - # asttokens - # latexcodec - # pybtex - # python-dateutil snowballstemmer==2.2.0 - # via sphinx soupsieve==2.5 - # via beautifulsoup4 -sphinx==5.0.2 - # via - # jupyter-book - # myst-nb - # myst-parser - # pydata-sphinx-theme - # sphinx-book-theme - # sphinx-comments - # sphinx-copybutton - # sphinx-design - # sphinx-external-toc - # sphinx-jupyterbook-latex - # sphinx-multitoc-numbering - # sphinx-panels - # sphinx-thebe - # sphinx-togglebutton - # sphinxcontrib-bibtex +Sphinx==4.5.0 sphinx-book-theme==1.0.1 - # via jupyter-book sphinx-comments==0.0.3 - # via jupyter-book sphinx-copybutton==0.5.2 - # via jupyter-book -sphinx-design==0.3.0 - # via jupyter-book -sphinx-external-toc==0.3.1 - # via jupyter-book sphinx-jupyterbook-latex==0.5.2 - # via jupyter-book sphinx-multitoc-numbering==0.1.3 - # via jupyter-book -sphinx-panels==0.4.1 - # via -r requirements.in +sphinx-panels==0.6.0 sphinx-thebe==0.2.1 - # via jupyter-book sphinx-togglebutton==0.3.2 - # via jupyter-book -sphinxcontrib-applehelp==1.0.8 - # via sphinx +sphinx_design==0.3.0 +sphinx_external_toc==0.3.1 +sphinxcontrib-applehelp==1.0.4 sphinxcontrib-bibtex==2.5.0 - # via jupyter-book -sphinxcontrib-devhelp==1.0.6 - # via sphinx -sphinxcontrib-htmlhelp==2.0.5 - # via sphinx +sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 - # via sphinx -sphinxcontrib-qthelp==1.0.7 - # via sphinx -sphinxcontrib-serializinghtml==1.1.10 - # via sphinx -sqlalchemy==2.0.25 - # via jupyter-cache +sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-serializinghtml==1.1.5 +SQLAlchemy==2.0.25 stack-data==0.6.3 - # via ipython tabulate==0.9.0 - # via jupyter-cache tenacity==8.2.3 - # via plotly +tomli==2.0.1 tornado==6.4 - # via - # ipykernel - # jupyter-client traitlets==5.14.1 - # via - # comm - # ipykernel - # ipython - # jupyter-client - # jupyter-core - # matplotlib-inline - # nbclient - # nbformat -typing-extensions==4.9.0 - # via - # myst-nb - # myst-parser - # pydata-sphinx-theme - # sqlalchemy +typing_extensions==4.9.0 tzdata==2023.4 - # via pandas uc-micro-py==1.0.2 - # via linkify-it-py urllib3==2.1.0 - # via requests wcwidth==0.2.13 - # via prompt-toolkit -wheel==0.42.0 - # via sphinx-togglebutton xyzservices==2023.10.1 - # via folium zipp==3.17.0 - # via importlib-metadata - -# The following packages are considered to be unsafe in a requirements file: -# setuptools diff --git a/netlify.toml b/netlify.toml index 060fe928ef3..e632499c34c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,7 +1,7 @@ [build] base = "book/" command = "make deps && make pathways" -environment = { PYTHON_VERSION = "3.10" } +environment = { PYTHON_VERSION = "3.8" } publish = "website/_build/html" # Do not build deploy previews for branches from all-contributors bot