-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated package before going to ipywidgets
- Loading branch information
Showing
11 changed files
with
49 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,17 +23,17 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.x | ||
- uses: pre-commit/[email protected].0 | ||
- uses: pre-commit/[email protected].1 | ||
|
||
combine-environments: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.x | ||
- name: Install conda-merge | ||
|
@@ -44,7 +44,7 @@ jobs: | |
for SUFFIX in ci integration; do | ||
conda-merge ci/environment-$SUFFIX.yml environment.yml > ci/combined-environment-$SUFFIX.yml || exit | ||
done | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: combined-environments | ||
path: ci/combined-environment-*.yml | ||
|
@@ -55,18 +55,18 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ['3.10'] | ||
python-version: ['3.11'] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: combined-environments | ||
path: ci | ||
- name: Get current date | ||
id: date | ||
run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}" | ||
- uses: mamba-org/setup-micromamba@v1 | ||
- uses: mamba-org/setup-micromamba@v2 | ||
with: | ||
environment-file: ci/combined-environment-ci.yml | ||
environment-name: DEVELOP | ||
|
@@ -88,22 +88,22 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: combined-environments | ||
path: ci | ||
- name: Get current date | ||
id: date | ||
run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}" | ||
- uses: mamba-org/setup-micromamba@v1 | ||
- uses: mamba-org/setup-micromamba@v2 | ||
with: | ||
environment-file: ci/combined-environment-ci.yml | ||
environment-name: DEVELOP | ||
cache-environment: true | ||
cache-environment-key: environment-${{ steps.date.outputs.date }} | ||
cache-downloads-key: downloads-${{ steps.date.outputs.date }} | ||
create-args: >- | ||
python=3.10 | ||
python=3.11 | ||
- name: Install package | ||
run: | | ||
python -m pip install --no-deps -e . | ||
|
@@ -117,22 +117,22 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: combined-environments | ||
path: ci | ||
- name: Get current date | ||
id: date | ||
run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}" | ||
- uses: mamba-org/setup-micromamba@v1 | ||
- uses: mamba-org/setup-micromamba@v2 | ||
with: | ||
environment-file: ci/combined-environment-ci.yml | ||
environment-name: DEVELOP | ||
cache-environment: true | ||
cache-environment-key: environment-${{ steps.date.outputs.date }} | ||
cache-downloads-key: downloads-${{ steps.date.outputs.date }} | ||
create-args: >- | ||
python=3.10 | ||
python=3.11 | ||
- name: Install package | ||
run: | | ||
python -m pip install --no-deps -e . | ||
|
@@ -149,19 +149,19 @@ jobs: | |
strategy: | ||
matrix: | ||
include: | ||
- python-version: '3.10' | ||
- python-version: '3.11' | ||
extra: -integration | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: combined-environments | ||
path: ci | ||
- name: Get current date | ||
id: date | ||
run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}" | ||
- uses: mamba-org/setup-micromamba@v1 | ||
- uses: mamba-org/setup-micromamba@v2 | ||
with: | ||
environment-file: ci/combined-environment${{ matrix.extra }}.yml | ||
environment-name: DEVELOP${{ matrix.extra }} | ||
|
@@ -189,9 +189,9 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
python-version: '3.11' | ||
- name: Install package | ||
run: | | ||
python -m pip install --upgrade pip | ||
|
@@ -206,7 +206,7 @@ jobs: | |
python -m twine check --strict * || exit | ||
python -c "import openptv_python" || exit | ||
cd .. | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: distribution | ||
path: dist | ||
|
@@ -215,7 +215,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: distribution | ||
if: | | ||
always() && | ||
always() && true && | ||
needs.distribution.result == 'success' && | ||
github.event_name == 'push' && | ||
startsWith(github.ref, 'refs/tags') | ||
|
@@ -226,10 +226,10 @@ jobs: | |
id-token: write # IMPORTANT: this permission is mandatory for trusted publish | ||
|
||
steps: | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: distribution | ||
path: dist | ||
- uses: pypa/gh-action-pypi-publish@v1.8.10 | ||
- uses: pypa/gh-action-pypi-publish@v1.12.4 | ||
with: | ||
verbose: true |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
repos: | ||
- repo: https://github.com/cruft/cruft | ||
rev: 2.15.0 | ||
rev: 2.16.0 | ||
hooks: | ||
- id: cruft | ||
entry: cruft update -y | ||
|
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
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