Skip to content

build(ci): fix build tooling for Resolute environment#69

Merged
alexsander-souza merged 1 commit intocanonical:resolute_supportfrom
alexsander-souza:pr-02/build-ci-tooling
Mar 31, 2026
Merged

build(ci): fix build tooling for Resolute environment#69
alexsander-souza merged 1 commit intocanonical:resolute_supportfrom
alexsander-souza:pr-02/build-ci-tooling

Conversation

@alexsander-souza
Copy link
Copy Markdown
Contributor

Fix Makefile and snap build targets that break under the Resolute build
environment due to the core26 layout change, updated Rust cryptography
bindings, and renamed tooling packages.

  • Makefile: fix venv pip install flags (--upgrade --force-reinstall) and
    bin symlink target (../$(VENV)/bin/$(notdir $@))
  • Makefile: fix lint-shell target path snap/local/tree/bin/* →
    snap/local/tree/usr/bin/* (follows PR-01 tree reorganisation)
  • Makefile: fix snap-tree-sync target path site-packages →
    usr/lib/python3.*/dist-packages
  • Makefile, tox.ini: add fix-py target and ruff-fix tox env for ruff
    auto-fix support
  • tox.ini: bump pyproject-fmt to 2.18, tox-ini-fmt to 1.7; drop
    setup-cfg-fmt (no longer needed)
  • snapcraft.yaml: add cargo and libssl-dev build packages (required by
    cryptography >= 43 Rust extension for XOFHash support)
  • snapcraft.yaml: add python3-referencing stage package
  • snapcraft.yaml: exclude usr/bin/maas-sampledata from staged binaries

Fix Makefile and snap build targets that break under the Resolute build
environment due to the core26 layout change, updated Rust cryptography
bindings, and renamed tooling packages.

- Makefile: fix venv pip install flags (--upgrade --force-reinstall) and
  bin symlink target (../$(VENV)/bin/$(notdir $@))
- Makefile: fix lint-shell target path snap/local/tree/bin/* →
  snap/local/tree/usr/bin/* (follows PR-01 tree reorganisation)
- Makefile: fix snap-tree-sync target path site-packages →
  usr/lib/python3.*/dist-packages
- Makefile, tox.ini: add fix-py target and ruff-fix tox env for ruff
  auto-fix support
- tox.ini: bump pyproject-fmt to 2.18, tox-ini-fmt to 1.7; drop
  setup-cfg-fmt (no longer needed)
- snapcraft.yaml: add cargo and libssl-dev build packages (required by
  cryptography >= 43 Rust extension for XOFHash support)
- snapcraft.yaml: add python3-referencing stage package
- snapcraft.yaml: exclude usr/bin/maas-sampledata from staged binaries
@alexsander-souza alexsander-souza merged commit d31e0c3 into canonical:resolute_support Mar 31, 2026
1 of 2 checks passed
@alexsander-souza alexsander-souza deleted the pr-02/build-ci-tooling branch March 31, 2026 13:10
alexsander-souza added a commit that referenced this pull request Apr 8, 2026
Fix Makefile and snap build targets that break under the Resolute build
environment due to the core26 layout change, updated Rust cryptography
bindings, and renamed tooling packages.

- Makefile: fix venv pip install flags (--upgrade --force-reinstall) and
  bin symlink target (../$(VENV)/bin/$(notdir $@))
- Makefile: fix lint-shell target path snap/local/tree/bin/* →
  snap/local/tree/usr/bin/* (follows PR-01 tree reorganisation)
- Makefile: fix snap-tree-sync target path site-packages →
  usr/lib/python3.*/dist-packages
- Makefile, tox.ini: add fix-py target and ruff-fix tox env for ruff
  auto-fix support
- tox.ini: bump pyproject-fmt to 2.18, tox-ini-fmt to 1.7; drop
  setup-cfg-fmt (no longer needed)
- snapcraft.yaml: add cargo and libssl-dev build packages (required by
  cryptography >= 43 Rust extension for XOFHash support)
- snapcraft.yaml: add python3-referencing stage package
- snapcraft.yaml: exclude usr/bin/maas-sampledata from staged binaries
alexsander-souza added a commit that referenced this pull request Apr 8, 2026
Fix Makefile and snap build targets that break under the Resolute build
environment due to the core26 layout change, updated Rust cryptography
bindings, and renamed tooling packages.

- Makefile: fix venv pip install flags (--upgrade --force-reinstall) and
  bin symlink target (../$(VENV)/bin/$(notdir $@))
- Makefile: fix lint-shell target path snap/local/tree/bin/* →
  snap/local/tree/usr/bin/* (follows PR-01 tree reorganisation)
- Makefile: fix snap-tree-sync target path site-packages →
  usr/lib/python3.*/dist-packages
- Makefile, tox.ini: add fix-py target and ruff-fix tox env for ruff
  auto-fix support
- tox.ini: bump pyproject-fmt to 2.18, tox-ini-fmt to 1.7; drop
  setup-cfg-fmt (no longer needed)
- snapcraft.yaml: add cargo and libssl-dev build packages (required by
  cryptography >= 43 Rust extension for XOFHash support)
- snapcraft.yaml: add python3-referencing stage package
- snapcraft.yaml: exclude usr/bin/maas-sampledata from staged binaries
alexsander-souza added a commit that referenced this pull request Apr 9, 2026
Fix Makefile and snap build targets that break under the Resolute build
environment due to the core26 layout change, updated Rust cryptography
bindings, and renamed tooling packages.

- Makefile: fix venv pip install flags (--upgrade --force-reinstall) and
  bin symlink target (../$(VENV)/bin/$(notdir $@))
- Makefile: fix lint-shell target path snap/local/tree/bin/* →
  snap/local/tree/usr/bin/* (follows PR-01 tree reorganisation)
- Makefile: fix snap-tree-sync target path site-packages →
  usr/lib/python3.*/dist-packages
- Makefile, tox.ini: add fix-py target and ruff-fix tox env for ruff
  auto-fix support
- tox.ini: bump pyproject-fmt to 2.18, tox-ini-fmt to 1.7; drop
  setup-cfg-fmt (no longer needed)
- snapcraft.yaml: add cargo and libssl-dev build packages (required by
  cryptography >= 43 Rust extension for XOFHash support)
- snapcraft.yaml: add python3-referencing stage package
- snapcraft.yaml: exclude usr/bin/maas-sampledata from staged binaries
alexsander-souza added a commit that referenced this pull request Apr 17, 2026
Fix Makefile and snap build targets that break under the Resolute build
environment due to the core26 layout change, updated Rust cryptography
bindings, and renamed tooling packages.

- Makefile: fix venv pip install flags (--upgrade --force-reinstall) and
  bin symlink target (../$(VENV)/bin/$(notdir $@))
- Makefile: fix lint-shell target path snap/local/tree/bin/* →
  snap/local/tree/usr/bin/* (follows PR-01 tree reorganisation)
- Makefile: fix snap-tree-sync target path site-packages →
  usr/lib/python3.*/dist-packages
- Makefile, tox.ini: add fix-py target and ruff-fix tox env for ruff
  auto-fix support
- tox.ini: bump pyproject-fmt to 2.18, tox-ini-fmt to 1.7; drop
  setup-cfg-fmt (no longer needed)
- snapcraft.yaml: add cargo and libssl-dev build packages (required by
  cryptography >= 43 Rust extension for XOFHash support)
- snapcraft.yaml: add python3-referencing stage package
- snapcraft.yaml: exclude usr/bin/maas-sampledata from staged binaries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant