-
Notifications
You must be signed in to change notification settings - Fork 43
Comparing changes
Open a pull request
base repository: hetznercloud/hcloud-python
base: v2.0.1
head repository: hetznercloud/hcloud-python
compare: v2.1.0
- 11 commits
- 30 files changed
- 3 contributors
Commits on Jul 12, 2024
-
chore(deps): update dependency coverage to >=7.6,<7.7 (#413)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [coverage](https://togithub.com/nedbat/coveragepy) | `>=7.5,<7.6` -> `>=7.6,<7.7` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nedbat/coveragepy (coverage)</summary> ### [`v7.6.0`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-760--2024-07-11) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/7.5.4...7.6.0) - Exclusion patterns can now be multi-line, thanks to `Daniel Diniz <pull 1807_>`*. This enables many interesting exclusion use-cases, including those requested in issues `118 <issue 118_>`* (entire files), `996 <issue 996_>`\_ (multiple lines only when appearing together), `1741 <issue 1741_>`\_ (remainder of a function), and `1803 <issue 1803_>`\_ (arbitrary sequence of marked lines). See the :ref:`multi_line_exclude` section of the docs for more details and examples. - The JSON report now includes per-function and per-class coverage information. Thanks to `Daniel Diniz <pull 1809_>`\_ for getting the work started. This closes `issue 1793`\_ and `issue 1532`\_. - Fixed an incorrect calculation of "(no class)" lines in the HTML classes report. - Python 3.13.0b3 is supported. .. \_issue 118:[https://github.com/nedbat/coveragepy/issues/118](https://togithub.com/nedbat/coveragepy/issues/118)8 .. \_issue 996[https://github.com/nedbat/coveragepy/issues/996](https://togithub.com/nedbat/coveragepy/issues/996)96 .. \_issue 153[https://github.com/nedbat/coveragepy/issues/1532](https://togithub.com/nedbat/coveragepy/issues/1532)532 .. \_issue 17[https://github.com/nedbat/coveragepy/issues/1741](https://togithub.com/nedbat/coveragepy/issues/1741)1741 .. \_issue 1[https://github.com/nedbat/coveragepy/issues/1793](https://togithub.com/nedbat/coveragepy/issues/1793)/1793 .. \_issue [https://github.com/nedbat/coveragepy/issues/1803](https://togithub.com/nedbat/coveragepy/issues/1803)s/1803 .. \_pull[https://github.com/nedbat/coveragepy/pull/1807](https://togithub.com/nedbat/coveragepy/pull/1807)ll/1807 .. \_pul[https://github.com/nedbat/coveragepy/pull/1809](https://togithub.com/nedbat/coveragepy/pull/1809)ull/1809 .. \_changes\_7-5-4: </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/hetznercloud/hcloud-python). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7d792eb - Browse repository at this point
Copy the full SHA 7d792ebView commit details
Commits on Jul 15, 2024
-
chore(deps): update dependency sphinx to >=7.4,<7.5 (#414)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [sphinx](https://togithub.com/sphinx-doc/sphinx) ([changelog](https://www.sphinx-doc.org/en/master/changes.html)) | `>=7.3.4,<7.4` -> `>=7.4,<7.5` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sphinx-doc/sphinx (sphinx)</summary> ### [`v7.4.0`](https://togithub.com/sphinx-doc/sphinx/blob/HEAD/CHANGES.rst#Release-740-released-Jul-15-2024) [Compare Source](https://togithub.com/sphinx-doc/sphinx/compare/v7.3.7...v7.4.0) \===================================== ## Dependencies - [#​12555](https://togithub.com/sphinx-doc/sphinx/issues/12555): Drop Docutils 0.18.1 and Docutils 0.19 support. Patch by Adam Turner. - LaTeX: the `xcolor` package is now required (but is for example part of Ubuntu `texlive-latex-recommended` which has always been required). - LaTeX: the `fontawesome5` LaTeX package is needed for the default choices of icons now used in admonition titles in PDF output; but if unavailable the PDF build will simply silently omit rendering such icons. Check the documentation of the `iconpackage` key of :ref:`'sphinxsetup' <latexsphinxsetup>` for more. ## Deprecated - LaTeX: the `sphinxlightbox` environment is not used anymore, all types of admonitions use (by default) only `sphinxheavybox`. ## Features added .. rst-class:: compact - [#​11165](https://togithub.com/sphinx-doc/sphinx/issues/11165): Support the `officially recommended`\_ `.jinja` suffix for template files. Patch by James Addison and Adam Turner .. \_officially recommended: https://jinja.palletsprojects.com/en/latest/templates/#template-file-extension - [#​12325](https://togithub.com/sphinx-doc/sphinx/issues/12325): Flatten `Union[Literal[T], Literal[U], ...]` to `Literal[T, U, ...]` when turning annotations into strings. Patch by Adam Turner. - [#​12319](https://togithub.com/sphinx-doc/sphinx/issues/12319): `sphinx.ext.extlinks`: Add `extlink-{name}` CSS class to links. Patch by Hugo van Kemenade. - [#​12387](https://togithub.com/sphinx-doc/sphinx/issues/12387): Improve CLI progress message, when copying assets. Patch by INADA Nakoi and Bénédikt Tran. - [#​12361](https://togithub.com/sphinx-doc/sphinx/issues/12361): Add :attr:`.BuildEnvironment.parser`. Patch by Chris Sewell. - [#​12358](https://togithub.com/sphinx-doc/sphinx/issues/12358): Add :attr:`.Sphinx.fresh_env_used`. Patch by Chris Sewell. - [#​12329](https://togithub.com/sphinx-doc/sphinx/issues/12329): Add detection of ambiguous `std:label` and `std:term` references during loading and resolution of Intersphinx targets. Patch by James Addison. - [#​12422](https://togithub.com/sphinx-doc/sphinx/issues/12422): Do not duplicate "navigation" in aria-label of built-in themes. Patch by Thomas Weißschuh - [#​12421](https://togithub.com/sphinx-doc/sphinx/issues/12421): Include project name in `logo_alt` of built-in themes. Patch by Thomas Weißschuh - [#​12448](https://togithub.com/sphinx-doc/sphinx/issues/12448): Add :option:`sphinx-apidoc --remove-old` option. Patch by Chris Sewell. - [#​12456](https://togithub.com/sphinx-doc/sphinx/issues/12456): Add :option:`sphinx-autogen --remove-old` option. Patch by Chris Sewell. - [#​12479](https://togithub.com/sphinx-doc/sphinx/issues/12479): Add warning subtype `toc.no_title`. Patch by Ondřej Navrátil. - [#​12492](https://togithub.com/sphinx-doc/sphinx/issues/12492): Add helper methods for parsing reStructuredText content into nodes from within a directive. - :py:meth:`~sphinx.util.docutils.SphinxDirective.parse_content_to_nodes()` parses the directive's content and returns a list of Docutils nodes. - :py:meth:`~sphinx.util.docutils.SphinxDirective.parse_text_to_nodes()` parses the provided text and returns a list of Docutils nodes. - :py:meth:`~sphinx.util.docutils.SphinxDirective.parse_inline()` parses the provided text into inline elements and text nodes. Patch by Adam Turner. - [#​12258](https://togithub.com/sphinx-doc/sphinx/issues/12258): Support `typing_extensions.Unpack` Patch by Bénédikt Tran and Adam Turner. - [#​12524](https://togithub.com/sphinx-doc/sphinx/issues/12524): Add a `class` option to the :rst:dir:`toctree` directive. Patch by Tim Hoffmann. - [#​12536](https://togithub.com/sphinx-doc/sphinx/issues/12536): Add the :rst:dir:`confval` directive. Patch by Adam Turner. - [#​12537](https://togithub.com/sphinx-doc/sphinx/issues/12537): :confval:`c_id_attributes`, :confval:`c_paren_attributes`, :confval:`cpp_id_attributes`, and :confval:`cpp_paren_attributes` can now be a tuple of strings. :confval:`c_extra_keywords`, :confval:`gettext_additional_targets`, :confval:`html_domain_indices`, :confval:`latex_domain_indices`, and :confval:`texinfo_domain_indices`, can now be a set of strings. Patch by Adam Turner. - [#​12523](https://togithub.com/sphinx-doc/sphinx/issues/12523): Added configuration option, :confval:`math_numsep`, to define the separator for math numbering. Patch by Thomas Fanning - [#​11592](https://togithub.com/sphinx-doc/sphinx/issues/11592): Add :confval:`coverage_modules` to the coverage builder to allow explicitly specifying which modules should be documented. Patch by Stephen Finucane. - [#​7896](https://togithub.com/sphinx-doc/sphinx/issues/7896), [#​11989](https://togithub.com/sphinx-doc/sphinx/issues/11989): Add a :rst:dir:`py:type` directive for documenting type aliases, and a :rst:role:`py:type` role for linking to them. Patch by Ashley Whetter. - [#​12549](https://togithub.com/sphinx-doc/sphinx/issues/12549): Add optional `description` argument to :meth:`.Sphinx.add_config_value`. Patch by Chris Sewell. - [#​6792](https://togithub.com/sphinx-doc/sphinx/issues/6792): Prohibit module import cycles in :mod:`sphinx.ext.autosummary`. Patch by Trevor Bekolay. - [#​12508](https://togithub.com/sphinx-doc/sphinx/issues/12508): LaTeX: Revamped styling of all admonitions, with addition of a title row with icon. Patch by Jean-François B. - [#​11773](https://togithub.com/sphinx-doc/sphinx/issues/11773): Display :py:class:`~typing.Annotated` annotations with their metadata in the Python domain. Patch by Adam Turner and David Stansby. - [#​12506](https://togithub.com/sphinx-doc/sphinx/issues/12506): Add `level` option to :rst:dir:`rubric` directive. Patch by Chris Sewell. - [#​12567](https://togithub.com/sphinx-doc/sphinx/issues/12567): Add the :event:`write-started` event. Patch by Chris Sewell. ## Bugs fixed - [#​12314](https://togithub.com/sphinx-doc/sphinx/issues/12314): Properly format `collections.abc.Callable` in annotations. Patch by Adam Turner. - [#​12162](https://togithub.com/sphinx-doc/sphinx/issues/12162): Fix a performance regression in the C domain that has been present since version 3.0.0. Patch by Donald Hunter. - [#​12320](https://togithub.com/sphinx-doc/sphinx/issues/12320): Fix removal of anchors from search summaries (regression in 7.3.0). Patch by Will Lachance. - [#​12251](https://togithub.com/sphinx-doc/sphinx/issues/12251): Fix `merge_domaindata()` in `sphinx.ext.duration`. Patch by Matthias Geier. - [#​12224](https://togithub.com/sphinx-doc/sphinx/issues/12224): Properly detect WebP files. Patch by Benjamin Cabé. - [#​12380](https://togithub.com/sphinx-doc/sphinx/issues/12380): LaTeX: Footnote mark sometimes indicates `Page N` where `N` is the current page number and the footnote does appear on that same page. Patch by Jean-François B. - [#​12410](https://togithub.com/sphinx-doc/sphinx/issues/12410): LaTeX: for French and `'lualatex'` as :confval:`latex_engine` `polyglossia` and not `babel` is used (contrarily to `'xelatex'`). Patch by Jean-François B. - [#​12416](https://togithub.com/sphinx-doc/sphinx/issues/12416): Ensure that configuration setting aliases are always synchronised when one value or the other is modified. Patch by Bénédikt Tran. - [#​12220](https://togithub.com/sphinx-doc/sphinx/issues/12220): Fix loading custom template translations for `en` locale. Patch by Nicolas Peugnet. - [#​12459](https://togithub.com/sphinx-doc/sphinx/issues/12459): Add valid-type arguments to the `linkcheck_rate_limit_timeout` configuration setting. Patch by James Addison. - [#​12331](https://togithub.com/sphinx-doc/sphinx/issues/12331): Resolve data-URI-image-extraction regression from v7.3.0 affecting builders without native support for data-URIs in their output format. Patch by James Addison. - [#​12494](https://togithub.com/sphinx-doc/sphinx/issues/12494): Fix invalid genindex.html file produced with translated docs (regression in 7.1.0). Patch by Nicolas Peugnet. - [#​11961](https://togithub.com/sphinx-doc/sphinx/issues/11961): Omit anchor references from document title entries in the search index, removing duplication of search results. Patch by James Addison. - [#​12425](https://togithub.com/sphinx-doc/sphinx/issues/12425): Use Docutils' SVG processing in the HTML builder and remove Sphinx's custom logic. Patch by Tunç Başar Köse. - [#​12391](https://togithub.com/sphinx-doc/sphinx/issues/12391): Adjust scoring of matches during HTML search so that document main titles tend to rank higher than subsection titles. In addition, boost matches on the name of programming domain objects relative to title/subtitle matches. Patch by James Addison and Will Lachance. - [#​9634](https://togithub.com/sphinx-doc/sphinx/issues/9634): Do not add a fallback language by stripping the country code. Patch by Alvin Wong. - [#​12352](https://togithub.com/sphinx-doc/sphinx/issues/12352): Add domain objects to the table of contents in the same order as defined in the document. Previously, each domain used language-specific nesting rules, which removed control from document authors. Patch by Jakob Lykke Andersen and Adam Turner. - [#​11041](https://togithub.com/sphinx-doc/sphinx/issues/11041): linkcheck: Ignore URLs that respond with non-Unicode content. Patch by James Addison. - [#​12543](https://togithub.com/sphinx-doc/sphinx/issues/12543): Fix :pep:`695` formatting for LaTeX output. Patch by Bénédikt Tran. ## Testing - karma: refactor HTML search tests to use fixtures generated by Sphinx. Patch by James Addison. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/hetznercloud/hcloud-python). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8d2c942 - Browse repository at this point
Copy the full SHA 8d2c942View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49d5d4f - Browse repository at this point
Copy the full SHA 49d5d4fView commit details
Commits on Jul 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e679822 - Browse repository at this point
Copy the full SHA e679822View commit details -
chore(deps): update dependency mypy to >=1.11,<1.12 (#418)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [mypy](https://www.mypy-lang.org/) ([source](https://togithub.com/python/mypy), [changelog](https://mypy-lang.blogspot.com/)) | `>=1.10,<1.11` -> `>=1.11,<1.12` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>python/mypy (mypy)</summary> ### [`v1.11.0`](https://togithub.com/python/mypy/compare/v1.10.1...v1.11.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.10.1...v1.11.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/hetznercloud/hcloud-python). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4bca300 - Browse repository at this point
Copy the full SHA 4bca300View commit details -
feat: add exponential and constant backoff function (#416)
- Implement the same backoff function as in the hcloud-go libary - Preparation work to change the retry backoff function to use an exponential backoff interval. - Rename PollIntervalFunction to BackoffFunction, as it is not only used for polling.
Configuration menu - View commit details
-
Copy full SHA for fe7ddf6 - Browse repository at this point
Copy the full SHA fe7ddf6View commit details
Commits on Jul 23, 2024
-
refactor: do not recurse for request retries (#412)
Preparation work to implement a more advanced retry policy when doing requests.
Configuration menu - View commit details
-
Copy full SHA for c517c85 - Browse repository at this point
Copy the full SHA c517c85View commit details -
refactor: allow differences between api object properties and slots (#…
…421) Allow differences between the classes slots and the API object properties.
Configuration menu - View commit details
-
Copy full SHA for 3a83ed7 - Browse repository at this point
Copy the full SHA 3a83ed7View commit details
Commits on Jul 24, 2024
-
feat: use exponential backoff when retrying requests (#417)
Replace current `retries * retry_interval` backoff with a truncated exponential backoff algorithm.
Configuration menu - View commit details
-
Copy full SHA for f306073 - Browse repository at this point
Copy the full SHA f306073View commit details
Commits on Jul 25, 2024
-
feat: deprecate
ServerType
included_traffic
property (#423)The API has been updated to provide a better insight and more flexibility for displaying the pricing of traffic for servers and load balancers. The old fields are deprecated and will be set to `None` in the API on 2024-08-05. You can learn more about this change in [our changelog](https://docs.hetzner.cloud/changelog#2024-07-25-cloud-api-returns-traffic-information-in-different-format).
Configuration menu - View commit details
-
Copy full SHA for 3d56ac5 - Browse repository at this point
Copy the full SHA 3d56ac5View commit details -
chore(main): release 2.1.0 (#420)
🤖 I have created a release *beep* *boop* --- ## [2.1.0](v2.0.1...v2.1.0) (2024-07-25) ### Features * add exponential and constant backoff function ([#416](#416)) ([fe7ddf6](fe7ddf6)) * deprecate `ServerType` `included_traffic` property ([#423](#423)) ([3d56ac5](3d56ac5)) * use exponential backoff when retrying requests ([#417](#417)) ([f306073](f306073)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Configuration menu - View commit details
-
Copy full SHA for 9215daa - Browse repository at this point
Copy the full SHA 9215daaView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.0.1...v2.1.0