Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/bench-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
# tags needed for dynamic versioning
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
- name: Install and configure Poetry
Expand All @@ -39,7 +39,7 @@ jobs:
run: |
poe bench-iso
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
flags: isobench
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bench-lha-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }} 🐍
id: setup-python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install and configure Poetry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bench-lha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
# tags needed for dynamic versioning
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
- name: Install and configure Poetry
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Run check
run: |
# extract the MSRV
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/python-poetry-tests-with-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
container: ${{ inputs.container-image }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
# tags needed for dynamic versioning
fetch-depth: 0
- name: Set up Python ${{ inputs.python-version }} 🐍
id: setup-python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ inputs.python-version }}
- name: Install and configure Poetry
Expand All @@ -56,7 +56,7 @@ jobs:
virtualenvs-path: ~/.virtualenvs
installer-parallel: true
- name: Cache Poetry virtualenv
uses: actions/cache@v4
uses: actions/cache@v6
id: cache
with:
path: ~/.virtualenvs
Expand All @@ -77,7 +77,7 @@ jobs:
run: pip install poethepoet
- name: Get test data
id: cache-test-data
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: test-data
key: test-data-${{inputs.data-version}}
Expand All @@ -95,7 +95,7 @@ jobs:
run: |
poe test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
flags: unittests
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-capi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
set-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
- name: Install and configure Poetry
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- name: macos-aarch64
runner: macos-14
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Download patched Cargo files
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
working-directory: dist-artifacts
run: sha256sum *.tar.gz > SHA256SUMS.txt
- name: Publish to GitHub Releases
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
tag_name: ${{ github.event.inputs.tag || github.ref_name }}
files: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') || github.event.inputs.tag != ''

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
- name: Install and configure Poetry
uses: snok/install-poetry@v1
- name: Install task runner
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/release-ekors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
set-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
- name: Install and configure Poetry
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- runner: ubuntu-latest
target: aarch64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Download patched Cargo files
uses: actions/download-artifact@v4
with:
Expand All @@ -70,7 +70,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y gcc-multilib
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
- name: Build wheels
Expand All @@ -97,13 +97,13 @@ jobs:
- runner: windows-latest
target: x86
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Download patched Cargo files
uses: actions/download-artifact@v4
with:
name: patched-cargo
path: .
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
architecture: ${{ matrix.platform.target }}
Expand All @@ -130,13 +130,13 @@ jobs:
- runner: macos-14
target: aarch64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Download patched Cargo files
uses: actions/download-artifact@v4
with:
name: patched-cargo
path: .
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
- name: Build wheels
Expand All @@ -155,7 +155,7 @@ jobs:
runs-on: ubuntu-latest
needs: [set-version]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Download patched Cargo files
uses: actions/download-artifact@v4
with:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/release-pyapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
set-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
- name: Install and configure Poetry
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- runner: ubuntu-latest
target: aarch64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Download patched Cargo files
uses: actions/download-artifact@v4
with:
Expand All @@ -70,7 +70,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y gcc-multilib
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
- name: Install Rust
Expand Down Expand Up @@ -99,13 +99,13 @@ jobs:
- runner: windows-latest
target: x86
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Download patched Cargo files
uses: actions/download-artifact@v4
with:
name: patched-cargo
path: .
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
architecture: ${{ matrix.platform.target }}
Expand Down Expand Up @@ -134,13 +134,13 @@ jobs:
- runner: macos-14
target: aarch64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Download patched Cargo files
uses: actions/download-artifact@v4
with:
name: patched-cargo
path: .
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
- name: Install Rust
Expand All @@ -161,7 +161,7 @@ jobs:
runs-on: ubuntu-latest
needs: [set-version]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Download patched Cargo files
uses: actions/download-artifact@v4
with:
Expand Down
17 changes: 13 additions & 4 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,20 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') || github.event.inputs.tag != ''

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
ref: ${{ github.event.inputs.tag || github.ref }}
# tags needed for dynamic versioning
fetch-depth: 0
- name: Set release version
run: |
TAG="${{ github.event.inputs.tag || github.ref_name }}"
# Strip leading 'v' if present
VERSION="${TAG#v}"
echo "POETRY_DYNAMIC_VERSIONING_BYPASS=${VERSION}" >> $GITHUB_ENV
Comment thread
AkshatRai07 marked this conversation as resolved.
Outdated
- name: Set up Python ${{ vars.PYTHON_VERSION_WORKFLOWS }} 🐍
id: setup-python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
- name: Install and configure Poetry
Expand All @@ -41,7 +48,7 @@ jobs:
virtualenvs-path: ~/.virtualenvs
installer-parallel: true
- name: Cache Poetry virtualenv
uses: actions/cache@v4
uses: actions/cache@v6
id: cache
with:
path: ~/.virtualenvs
Expand All @@ -62,7 +69,7 @@ jobs:
run: pip install poethepoet
- name: Get test data
id: cache-test-data
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: test-data
key: test-data-v2
Expand All @@ -80,3 +87,5 @@ jobs:
poetry build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
4 changes: 2 additions & 2 deletions .github/workflows/unittests-capi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
- name: Install task runner
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unittests-pyapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Setup Python
id: setup-python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ vars.PYTHON_VERSION_WORKFLOWS }}
- name: Setup Rust toolchain
Expand All @@ -25,7 +25,7 @@ jobs:
virtualenvs-in-project: true
installer-parallel: true
- name: Cache Poetry virtualenv
uses: actions/cache@v4
uses: actions/cache@v6
id: cache
with:
path: .venv
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unittests-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Get test data
id: cache-test-data
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: test-data
key: test-data-v2
- name: Download test data
if: steps.cache-test-data.outputs.cache-hit != 'true'
run: |
./tests/data/assets.sh
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
- name: Install task runner
run: pip install poethepoet
- name: Run fmt
Expand Down
1 change: 1 addition & 0 deletions crates/eko/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ build-backend = "maturin"

[project]
name = "eko-rs"
readme="README.md"
dynamic = ["version"]
requires-python = ">=3.11"
classifiers = [
Expand Down
Loading
Loading