From dd889bf5ef2c758abb1edf3a685cb4e2fbe07679 Mon Sep 17 00:00:00 2001 From: mrbuche Date: Wed, 13 Nov 2024 09:44:58 -0700 Subject: [PATCH 1/5] venv --- .github/workflows/python.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index d3d31596..be1d653d 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -52,6 +52,10 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + - name: venv + run: python -m venv .venv + - name: source + run: source .venv/bin/activate - name: maturin run: pip install maturin - name: build From 2faa0bfb3ecd7b94e3a828b53c32db514e2e24f0 Mon Sep 17 00:00:00 2001 From: mrbuche Date: Wed, 13 Nov 2024 10:00:39 -0700 Subject: [PATCH 2/5] foo --- .github/workflows/python.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index be1d653d..d38b13f3 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -52,10 +52,9 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: venv - run: python -m venv .venv - - name: source - run: source .venv/bin/activate + - name: foo + if: matrix.os == 'macos-latest' + run: brew uninstall xz - name: maturin run: pip install maturin - name: build From 30511797bea5815697f0f81a3df8d2b497212269 Mon Sep 17 00:00:00 2001 From: mrbuche Date: Wed, 13 Nov 2024 10:02:10 -0700 Subject: [PATCH 3/5] foo --- .github/workflows/python.yml | 64 ++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index d38b13f3..422f347a 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -5,42 +5,42 @@ on: release: types: published jobs: - test: - if: github.event_name != 'release' - strategy: - fail-fast: false - matrix: - os: [macos-latest, ubuntu-latest, windows-latest] - python-version: ['3.9', '3.10', '3.11', '3.12'] - runs-on: ${{ matrix.os }} - steps: - - name: checkout - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - components: clippy - default: true - toolchain: 1.81.0 - - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - name: clippy - run: cargo clippy --features python -- -D warnings - - name: maturin - run: pip install maturin - - name: build - run: maturin build --release --features python - - name: install - run: pip install --find-links=target/wheels/ automesh[dev] - - name: pycodestyle - run: pycodestyle --verbose . - - name: pytest - run: pytest --verbose + # test: + # if: github.event_name != 'release' + # strategy: + # fail-fast: false + # matrix: + # os: [macos-latest, ubuntu-latest, windows-latest] + # python-version: ['3.9', '3.10', '3.11', '3.12'] + # runs-on: ${{ matrix.os }} + # steps: + # - name: checkout + # uses: actions/checkout@v4 + # - uses: actions-rs/toolchain@v1 + # with: + # components: clippy + # default: true + # toolchain: 1.81.0 + # - uses: actions/setup-python@v5 + # with: + # python-version: ${{ matrix.python-version }} + # - name: clippy + # run: cargo clippy --features python -- -D warnings + # - name: maturin + # run: pip install maturin + # - name: build + # run: maturin build --release --features python + # - name: install + # run: pip install --find-links=target/wheels/ automesh[dev] + # - name: pycodestyle + # run: pycodestyle --verbose . + # - name: pytest + # run: pytest --verbose wheels: strategy: fail-fast: false matrix: - os: [macos-latest, ubuntu-latest, windows-latest] + os: [macos-latest] python-version: ['3.9', '3.10', '3.11', '3.12'] runs-on: ${{ matrix.os }} steps: From a1aaca264c996d73e927e753cb6e44e01e54eb6d Mon Sep 17 00:00:00 2001 From: mrbuche Date: Wed, 13 Nov 2024 10:03:11 -0700 Subject: [PATCH 4/5] foo --- .github/workflows/python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 422f347a..2aef0f2f 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -54,7 +54,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: foo if: matrix.os == 'macos-latest' - run: brew uninstall xz + run: brew uninstall --ignore-dependencies xz - name: maturin run: pip install maturin - name: build From 1204e48eb4c1d04e070bedce29d3b77c3f99d51e Mon Sep 17 00:00:00 2001 From: mrbuche Date: Wed, 13 Nov 2024 10:08:20 -0700 Subject: [PATCH 5/5] welp --- .github/workflows/python.yml | 64 ++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 2aef0f2f..93fb80e7 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -5,42 +5,42 @@ on: release: types: published jobs: - # test: - # if: github.event_name != 'release' - # strategy: - # fail-fast: false - # matrix: - # os: [macos-latest, ubuntu-latest, windows-latest] - # python-version: ['3.9', '3.10', '3.11', '3.12'] - # runs-on: ${{ matrix.os }} - # steps: - # - name: checkout - # uses: actions/checkout@v4 - # - uses: actions-rs/toolchain@v1 - # with: - # components: clippy - # default: true - # toolchain: 1.81.0 - # - uses: actions/setup-python@v5 - # with: - # python-version: ${{ matrix.python-version }} - # - name: clippy - # run: cargo clippy --features python -- -D warnings - # - name: maturin - # run: pip install maturin - # - name: build - # run: maturin build --release --features python - # - name: install - # run: pip install --find-links=target/wheels/ automesh[dev] - # - name: pycodestyle - # run: pycodestyle --verbose . - # - name: pytest - # run: pytest --verbose + test: + if: github.event_name != 'release' + strategy: + fail-fast: false + matrix: + os: [macos-latest, ubuntu-latest, windows-latest] + python-version: ['3.9', '3.10', '3.11', '3.12'] + runs-on: ${{ matrix.os }} + steps: + - name: checkout + uses: actions/checkout@v4 + - uses: actions-rs/toolchain@v1 + with: + components: clippy + default: true + toolchain: 1.81.0 + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: clippy + run: cargo clippy --features python -- -D warnings + - name: maturin + run: pip install maturin + - name: build + run: maturin build --release --features python + - name: install + run: pip install --find-links=target/wheels/ automesh[dev] + - name: pycodestyle + run: pycodestyle --verbose . + - name: pytest + run: pytest --verbose wheels: strategy: fail-fast: false matrix: - os: [macos-latest] + os: [macos-latest, ubuntu-latest, windows-latest] python-version: ['3.9', '3.10', '3.11', '3.12'] runs-on: ${{ matrix.os }} steps: