Skip to content

feat: upgrade openstacksdk#508

Open
rpocase wants to merge 5 commits into
canonical:mainfrom
rpocase:20260626-upgrade-openstack-sdk
Open

feat: upgrade openstacksdk#508
rpocase wants to merge 5 commits into
canonical:mainfrom
rpocase:20260626-upgrade-openstack-sdk

Conversation

@rpocase

@rpocase rpocase commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

PR Checklist

To ease the process of reviewing your PR, do make sure to complete the following checklist before submitting a pull
request.

  • I have added unit tests to cover the new behavior under ``tests/unit_tests/```
  • I have run tox -e format locally to automatically format my code before submitting
  • I have run tox locally ensuring that it passes before submitting
  • [-] (if applicable) I have added a reference to issues that this PR relates to in the PR message (Refs GH-1234, Fixes GH-1234)
  • My commits are atomic and follow the convetional commit message format (https://www.conventionalcommits.org/en/v1.0.0/)

Description

this migrates openstacksdk to a modern modern version. the intention is
to drop netiface from the dependency tree because the package is no
longer maintained

Additional Context and Relevant Issues

this builds off of #507

Test Steps

N/A

rpocase added 5 commits June 26, 2026 10:57
the current setup is unexpected given the test runner is using uv.
this migrates the setup to uv. mypy and some typed dependencies
needed to be upgrade due to messaging around "typed-ast" not
being installed with seemingly no workaround.
- Add [tool.uv] python-preference = "only-system" to pyproject.toml
  so uv never downloads a managed Python and always uses the system
  interpreter
- Add tox-uv to tox requires so tox uses uv as its venv/install backend
- Replace apt tox installs with astral-sh/setup-uv in all workflows
- Collapse separate py310/py312 CI jobs into a single matrix job that
  selects the Ubuntu runner (22.04/24.04) based on the target Python
  version, making the Python→runner mapping explicit and easy to extend
- Simplify version_check workflow: drop actions/setup-python and pip
  installs in favour of uv run --with packaging
migrating to mypy 2.x resulted in a larger amount of type
failures being detected. this resolves all outstanding type hinting
failures
…resources

azure-mgmt-resource>=26.0.0 dropped the top-level re-export; the class
now must be imported from its actual submodule.
this migrates openstacksdk to a modern modern version. the intention is
to drop netiface from the dependency tree because the package is no
longer maintained
@rpocase rpocase changed the title 20260626 upgrade openstack sdk feat: upgrade openstack sdk Jun 26, 2026
@rpocase rpocase changed the title feat: upgrade openstack sdk feat: upgrade openstacksdk Jun 26, 2026
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