Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read The Docs and dependency upgrades #3535

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python_version: ["3.8"]
python_version: ["3.12"]
fail-fast: false # Don't cancel all jobs if one fails

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.12"

- name: Install dependencies
run: make deps
Expand All @@ -82,7 +82,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.12"

- name: Install dependencies
run: make deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-talk-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.12"

- name: Install ghapi to interact with the GitHub REST API
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/external_link_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.12"

- name: Install dependencies
run: make deps
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lorem-ipsums.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.8
- name: Setup Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.12"
# Install Python dependencies
- name: Install dependencies
working-directory: ./tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/no-bad-latin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.8
- name: Setup Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.12"
# Install Python dependencies
- name: Install dependencies
working-directory: ./tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3

- name: Setup Python 3.8
- name: Setup Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.12"

- name: Install yamllint via pip
run: |
Expand Down
27 changes: 27 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

version: 2

build:
os: ubuntu-22.04
tools:
python: "3.12"
jobs:
pre_build:
# Generate Sphinx conf.py using JupyterBook
- "jupyter-book config sphinx book/website"
# Write pathways modifications
- "pathways book/website"

sphinx:
configuration: book/website/conf.py

# formats:
# - pdf
# - epub

python:
install:
- requirements: book/website/requirements.txt
2 changes: 1 addition & 1 deletion book/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ strict:
jupyter-book build ./website -W --keep-going

pathways:
python -m pathways.main pathways ./website/
pathways ./website/ --build

clean:
jupyter-book clean -a ./website
2 changes: 1 addition & 1 deletion book/website/community-handbook/local-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.8
conda create --name the-turing-way python=3.10
```

4. Activate the environment with:
Expand Down
2 changes: 1 addition & 1 deletion book/website/requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
datascience
folium
git+https://github.com/the-turing-way/pathways.git@v0.1.0
git+https://github.com/the-turing-way/pathways.git@v0.2.2
jinja2
jupyter-book
matplotlib
Expand Down
Loading
Loading