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

Fix doc generation and PyPI uploads by pinning to Python 3.7 #500

Merged
merged 4 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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/pypiupload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [2.7, 3.x]
python-version: [2.7, 3.7]

steps:
- uses: actions/[email protected]
Expand All @@ -34,9 +34,9 @@ jobs:
- name: Build
run: |
python setup.py bdist_wheel
- name: Build Sources (3.x)
- name: Build Sources (Python 3)
run: python setup.py sdist
if: matrix.python-version == '3.x'
if: ${{ matrix.python-version != '2.7' }}
- name: Publish
env:
TWINE_USERNAME: __token__
Expand Down
16 changes: 12 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# .readthedocs.yml
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Don't build any extra formats
# https://docs.readthedocs.io/en/latest/yaml-config.html#formats
formats: []
version: 2

build:
os: ubuntu-20.04
tools:
python: "3.7"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This now matches what we actually run to test that we can generate docs in the CI workflow.

sphinx:
configuration: docs/conf.py
Loading