Skip to content

Commit

Permalink
updated rye installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebv committed Jun 5, 2024
1 parent 24681c7 commit 42f9e84
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ FROM mcr.microsoft.com/vscode/devcontainers/python:3.11
SHELL ["/bin/bash", "-c"]

# Install rye
RUN curl -sSf https://rye-up.com/get | RYE_INSTALL_OPTION="--yes" bash
RUN curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
python-version: "3.12"
# TODO cache rye installation
- name: Install rye
run: curl -sSf https://rye-up.com/get | RYE_INSTALL_OPTION="--yes" bash
run: curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
- name: Install project and its dependencies
run: ~/.rye/shims/rye sync --no-lock
- name: Build and deploy docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
python-version: "3.11"
# TODO cache rye installation
- name: Install rye
run: curl -sSf https://rye-up.com/get | RYE_INSTALL_OPTION="--yes" bash
run: curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
- name: Install project and its dependencies
run: ~/.rye/shims/rye sync --all-features
- name: Run Ruff linter
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python-version: "3.11"
# TODO cache rye installation
- name: Install rye
run: curl -sSf https://rye-up.com/get | RYE_INSTALL_OPTION="--yes" bash
run: curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
- name: Install project and its dependencies
run: ~/.rye/shims/rye sync --all-features
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
python-version: "${{ matrix.python-version }}"
# TODO cache rye installation
- name: Install rye
run: curl -sSf https://rye-up.com/get | RYE_INSTALL_OPTION="--yes" bash
run: curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
- name: Install project and its dependencies
run: ~/.rye/shims/rye sync --all-features
- name: Run tests and generate coverage report
Expand Down
9 changes: 3 additions & 6 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# features: []
# all-features: true
# with-sources: false
# generate-hashes: false

-e file:.
# via file:///-
anyio==4.3.0
# via httpx
babel==2.14.0
Expand All @@ -30,7 +30,6 @@ colorama==0.4.6
# via griffe
# via mkdocs-material
coverage==7.4.3
# via coverage
# via pytest-cov
cryptography==42.0.5
# via pyjwt
Expand Down Expand Up @@ -84,7 +83,6 @@ mkdocs-material==9.5.13
mkdocs-material-extensions==1.3.1
# via mkdocs-material
mkdocstrings==0.24.1
# via mkdocstrings
# via mkdocstrings-python
mkdocstrings-python==1.8.0
# via mkdocstrings
Expand Down Expand Up @@ -115,7 +113,6 @@ pygments==2.17.2
# via mkdocs-material
pyjwt==2.8.0
# via aiosalesforce
# via pyjwt
pymdown-extensions==10.7.1
# via mkdocs-material
# via mkdocstrings
Expand All @@ -140,6 +137,8 @@ requests==2.31.0
# via mkdocs-material
respx==0.20.2
ruff==0.3.0
setuptools==69.2.0
# via nodeenv
six==1.16.0
# via python-dateutil
sniffio==1.3.1
Expand All @@ -154,5 +153,3 @@ virtualenv==20.25.1
# via pre-commit
watchdog==4.0.0
# via mkdocs
setuptools==69.2.0
# via nodeenv
3 changes: 1 addition & 2 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# features: []
# all-features: true
# with-sources: false
# generate-hashes: false

-e file:.
# via file:///-
anyio==4.3.0
# via httpx
certifi==2024.2.2
Expand All @@ -33,7 +33,6 @@ pycparser==2.22
# via cffi
pyjwt==2.8.0
# via aiosalesforce
# via pyjwt
sniffio==1.3.1
# via anyio
# via httpx

0 comments on commit 42f9e84

Please sign in to comment.