-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to Rye, update installation instructions (#38)
* Update installation instructions Signed-off-by: Fabrice Normandin <[email protected]> * Add missing `mila_setup.sh` script Signed-off-by: Fabrice Normandin <[email protected]> * Make the script executable Signed-off-by: Fabrice Normandin <[email protected]> * Add content to `mila_setup.sh` script Signed-off-by: Fabrice Normandin <[email protected]> * Switch to [Rye](https://rye.astral.sh/) Signed-off-by: Fabrice Normandin <[email protected]> * Add instructions at the end of mila_setup.sh Signed-off-by: Fabrice Normandin <[email protected]> * Update devcontainer file Signed-off-by: Fabrice Normandin <[email protected]> * Update the build script Signed-off-by: Fabrice Normandin <[email protected]> * Update the docs workflow Signed-off-by: Fabrice Normandin <[email protected]> * Fix python-requires to >= 3.10 Signed-off-by: Fabrice Normandin <[email protected]> * Tweak the devcontainer so it works Signed-off-by: Fabrice Normandin <[email protected]> * Tweak the devcontainer file Signed-off-by: Fabrice Normandin <[email protected]> * Re-add the .python-version file Signed-off-by: Fabrice Normandin <[email protected]> * Update requirement files for py3.10 Signed-off-by: Fabrice Normandin <[email protected]> * Make requirement files universal (all platforms?) Signed-off-by: Fabrice Normandin <[email protected]> * Update the installation instructions Signed-off-by: Fabrice Normandin <[email protected]> --------- Signed-off-by: Fabrice Normandin <[email protected]>
- Loading branch information
Showing
14 changed files
with
1,106 additions
and
3,957 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,17 +11,20 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Python 3.12 | ||
uses: actions/setup-python@v5 | ||
- name: Setup Rye with caching of venvs | ||
uses: eifinger/setup-rye@v4 | ||
id: setup-rye | ||
with: | ||
python-version: 3.12 | ||
- name: Install pdm | ||
run: pip install pdm | ||
enable-cache: true | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Pin python-version | ||
run: rye pin 3.10 | ||
|
||
- name: Install dependencies | ||
run: pdm install | ||
run: rye sync --no-lock --features docs | ||
|
||
- name: Deploy docs | ||
run: pdm run mkdocs gh-deploy --force | ||
run: rye run mkdocs gh-deploy --force | ||
# note: Checking if we really need the one below: | ||
# uses: mhausenblas/[email protected] | ||
# # Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.10.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.