Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 29, 2025

Bumps hcloud from 2.5.4 to 2.7.0.

Release notes

Sourced from hcloud's releases.

v2.7.0

Server Types now depend on Locations.

  • We added a new locations property to the Server Types resource. The new property defines a list of supported Locations and additional per Locations details such as deprecations information.

  • We deprecated the deprecation property from the Server Types resource. The property will gradually be phased out as per Locations deprecations are being announced. Please use the new per Locations deprecation information instead.

See our changelog for more details.

Upgrading

# Before
def validate_server_type(server_type: ServerType):
    if server_type.deprecation is not None:
        raise ValueError(f"server type {server_type.name} is deprecated")
# After
def validate_server_type(server_type: ServerType, location: Location):
    found = [o for o in server_type.locations if location.name == o.location.name]
    if not found:
        raise ValueError(
            f"server type {server_type.name} is not supported in location {location.name}"
        )
server_type_location = found[0]
if server_type_location.deprecation is not None:
raise ValueError(
f"server type {server_type.name} is deprecated in location {location.name}"
)

Features

  • per location server types (#558)

v2.6.0

Features

  • add category property to server type (#549)

Bug Fixes

  • rename ClientEntityBase to ResourceClientBase (#532)
Changelog

Sourced from hcloud's changelog.

v2.7.0

Server Types now depend on Locations.

  • We added a new locations property to the Server Types resource. The new property defines a list of supported Locations and additional per Locations details such as deprecations information.

  • We deprecated the deprecation property from the Server Types resource. The property will gradually be phased out as per Locations deprecations are being announced. Please use the new per Locations deprecation information instead.

See our changelog for more details.

Upgrading

# Before
def validate_server_type(server_type: ServerType):
    if server_type.deprecation is not None:
        raise ValueError(f"server type {server_type.name} is deprecated")
# After
def validate_server_type(server_type: ServerType, location: Location):
    found = [o for o in server_type.locations if location.name == o.location.name]
    if not found:
        raise ValueError(
            f"server type {server_type.name} is not supported in location {location.name}"
        )
server_type_location = found[0]
if server_type_location.deprecation is not None:
raise ValueError(
f"server type {server_type.name} is deprecated in location {location.name}"
)

Features

  • per location server types (#558)

v2.6.0

Features

  • add category property to server type (#549)

Bug Fixes

  • rename ClientEntityBase to ResourceClientBase (#532)
Commits
  • bbee5a7 chore(main): release v2.7.0 (#559)
  • 4354885 chore(deps): update apricote/releaser-pleaser action to v0.7.1 (#560)
  • a77b0cc feat: per location server types (#558)
  • 628aa6d docs: add experimental features maturity (#557)
  • 2134cb8 chore(deps): update dependency mypy to >=1.18,<1.19 (#555)
  • ed6b0a2 chore(deps): update dependency pytest-cov to v7 (#554)
  • 4f819db chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v25.9.0 (#...
  • dc3b3eb chore(main): release v2.6.0 (#553)
  • 74741e1 chore(deps): update actions/setup-python action to v6 (#552)
  • f95978f chore(deps): update pypa/gh-action-pypi-publish action to v1.13.0 (#551)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [hcloud](https://github.com/hetznercloud/hcloud-python) from 2.5.4 to 2.7.0.
- [Release notes](https://github.com/hetznercloud/hcloud-python/releases)
- [Changelog](https://github.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md)
- [Commits](hetznercloud/hcloud-python@v2.5.4...v2.7.0)

---
updated-dependencies:
- dependency-name: hcloud
  dependency-version: 2.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 29, 2025
@resmo resmo merged commit 66148e4 into main Sep 29, 2025
3 checks passed
@resmo resmo deleted the dependabot/pip/hcloud-2.7.0 branch September 29, 2025 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants