Skip to content

Commit

Permalink
Update CI and docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Oct 3, 2023
1 parent a725098 commit 642bd8e
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
resource_class: arm.medium
steps:
- run:
name: Install Python 3.11
name: Install Python 3.12
command: |
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt update
sudo apt install -y python3.11-dev python3.11-venv python3.11-distutils
sudo apt install -y python3.12-dev python3.12-venv python3.12-distutils
- run:
name: Setup Nox
command: |
python3.11 -m venv ~/bin/nox.venv
python3.12 -m venv ~/bin/nox.venv
~/bin/nox.venv/bin/pip install nox
cd ~/bin
ln -s nox.venv/bin/nox
Expand All @@ -60,15 +60,15 @@ jobs:
resource_class: arm.medium
steps:
- run:
name: Install Python 3.11
name: Install Python 3.12
command: |
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt update
sudo apt install -y python3.11-dev python3.11-venv python3.11-distutils
sudo apt install -y python3.12-dev python3.12-venv python3.12-distutils
- run:
name: Setup Nox
command: |
python3.11 -m venv ~/bin/nox.venv
python3.12 -m venv ~/bin/nox.venv
~/bin/nox.venv/bin/pip install nox
cd ~/bin
ln -s nox.venv/bin/nox
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
env:
SCIENCE_AUTH_API_GITHUB_COM_BEARER: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Setup Python 3.11
- name: Setup Python 3.12
uses: actions/setup-python@v4
if: matrix.os != 'macos-13-aarch64'
with:
python-version: 3.11
python-version: 3.12
- name: Setup Nox
run: pip install nox
- name: Checkout Lift
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doc-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
steps:
- name: Setup Python 3.11
- name: Setup Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: 3.12
- name: Setup Nox
run: pip install nox
- name: Checkout Lift
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ jobs:
env:
SCIENCE_AUTH_API_GITHUB_COM_BEARER: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Setup Python 3.11
- name: Setup Python 3.12
uses: actions/setup-python@v4
if: matrix.os != 'macos-13-aarch64'
with:
python-version: 3.11
python-version: 3.12
- name: Setup Nox
run: pip install nox
- name: Checkout lift ${{ needs.determine-tag.outputs.release-tag }}
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Thank you in advance for your time and effort.
## Development Environment

You'll need just a few tools to hack on the scie-jump:
+ A Python 3.11 interpreter
+ A Python 3.12 interpreter
+ The [`nox`](https://nox.thea.codes/en/stable/) tool.

## Development Cycle
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ your $PATH somewhere.
The binaries are released via [GitHub Releases](https://github.com/a-scie/lift/releases)
for Windows x86_64 and Linux and macOS for both aarch64 and x86_64. For each of these platforms
there are two varieties, "thin" and "fat". The "fat" varieties are named `science-fat-*`, include
a hermetic CPython 3.11 distribution from the [Python Build Standalone]() project and are larger as
a result. The "thin" varieties have the CPython 3.11 distribution gouged out and are smaller as a
a hermetic CPython 3.12 distribution from the [Python Build Standalone]() project and are larger as
a result. The "thin" varieties have the CPython 3.12 distribution gouged out and are smaller as a
result. In its place a [`ptex`](https://github.com/a-scie/ptex) binary is included that fills in the
CPython 3.11 distribution by fetching it when the "thin" `science` binary is first run.
CPython 3.12 distribution by fetching it when the "thin" `science` binary is first run.

I run on Linux x86_64; so I install a stable release like so:
```
Expand All @@ -45,4 +45,4 @@ build instructions there.
## Contribute

See the [contribution guide](CONTRIBUTING.md) if you're interested in hacking on `science` or
improving its documentation.
improving its documentation.

0 comments on commit 642bd8e

Please sign in to comment.