-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #653 from mittagessen/feature/deprecate_py3.8
Deprecate python 3.8 and allow python interpreter version > 3.11
- Loading branch information
Showing
9 changed files
with
45 additions
and
164 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.8, 3.9, '3.10', '3.11'] | ||
python-version: [3.9, '3.10', '3.11', '3.12'] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -42,10 +42,10 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python 3.9 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.9 | ||
python-version: 3.11 | ||
- name: Build a binary wheel and a source tarball | ||
run: | | ||
python -m pip install build --user | ||
|
@@ -61,53 +61,9 @@ jobs: | |
name: pypi_packages | ||
path: dist/* | ||
|
||
build-n-publish-anaconda: | ||
name: Build and publish anaconda packages | ||
needs: lint_and_test | ||
runs-on: ubuntu-latest | ||
if: startsWith(github.ref, 'refs/tags/') | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
python-version: 3.9 | ||
miniforge-variant: Mambaforge | ||
- name: install dependencies build | ||
shell: bash -l {0} | ||
run: mamba install colorama pip ruamel ruamel.yaml rich jsonschema conda-verify anaconda-client | ||
- name: Build linux-64 conda package | ||
uses: prefix-dev/[email protected] | ||
with: | ||
recipe-path: "conda/recipe.yaml" | ||
build-args: "--experimental --target-platform linux-64" | ||
- name: Build osx-64 conda package | ||
uses: prefix-dev/[email protected] | ||
with: | ||
recipe-path: "conda/recipe.yaml" | ||
build-args: "--experimental --target-platform osx-64" | ||
# - name: Build osx-arm64 conda package | ||
# uses: prefix-dev/[email protected] | ||
# with: | ||
# recipe-path: "conda/recipe.yaml" | ||
# build-args: "--experimental --target-platform osx-arm64" | ||
- name: Upload conda package | ||
run: | | ||
for pkg in $(find output -type f \( -name "*.conda" -o -name "*.tar.bz2" \) ); do | ||
echo "Uploading ${pkg}" | ||
rattler-build upload anaconda -o mittagessen -a ${{ secrets.ANACONDA_TOKEN }} "${pkg}" | ||
done | ||
- name: Upload conda artifacts to GH storage | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: conda_packages | ||
path: output/*/*.conda | ||
|
||
autodraft-gh-release: | ||
name: Create github release | ||
needs: [build-n-publish-anaconda, build-n-publish-pypi] | ||
needs: build-n-publish-pypi | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
@@ -140,10 +96,10 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python 3.9 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.9 | ||
python-version: 3.11 | ||
- name: Install sphinx-multiversion | ||
run: python -m pip install sphinx-multiversion sphinx-autoapi | ||
- name: Create docs | ||
|
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 was deleted.
Oops, something went wrong.
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
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