Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jobs:
build:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v31.0.1
with:
cache: false

integration-test:
name: Integration test charm
Expand Down
3 changes: 3 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ parts:
after:
- poetry-deps
poetry-export-extra-args: ['--only', 'main,charm-libs']
build-environment:
- PIP_CONSTRAINT: constraints.txt # Workaround for 20.04
build-packages:
- libffi-dev # Needed to build Python dependencies with Rust from source
- libssl-dev # Needed to build Python dependencies with Rust from source
Expand Down Expand Up @@ -97,5 +99,6 @@ parts:
stage:
- LICENSE
- charm_version
- constraints.txt # Include in *.charm artifact for easier debugging
- workload_version
- templates
5 changes: 5 additions & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
setuptools_scm < 8.2.0; python_version <= "3.8"
# 1.8.4 maturin setup.py uses RustBin with env arg, which requires setuptools-rust >= 1.11.0, which
# does not support python 3.8
maturin < 1.8.4; python_version <= "3.8"
setuptools-rust < 1.11; python_version <= "3.8"