From 46746c35f82b2427cb8ac2b621446b0239ee5348 Mon Sep 17 00:00:00 2001 From: ChHuang Date: Mon, 22 Apr 2024 16:49:59 +0200 Subject: [PATCH] Release 0.9.0 --- osctiny/__init__.py | 2 +- osctiny/extensions/buildresults.py | 2 +- osctiny/extensions/staging.py | 2 +- osctiny/osc.py | 4 ++-- osctiny/utils/xml.py | 2 +- setup.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/osctiny/__init__.py b/osctiny/__init__.py index 72ce9e8..9986bec 100644 --- a/osctiny/__init__.py +++ b/osctiny/__init__.py @@ -6,4 +6,4 @@ __all__ = ['Osc', 'bs_requests', 'buildresults', 'comments', 'packages', 'projects', 'search', 'users'] -__version__ = "0.8.2" +__version__ = "0.9.0" diff --git a/osctiny/extensions/buildresults.py b/osctiny/extensions/buildresults.py index b818bfd..51f2b93 100644 --- a/osctiny/extensions/buildresults.py +++ b/osctiny/extensions/buildresults.py @@ -121,7 +121,7 @@ def get_status_and_build_id(self, project, repo, arch): :return: Objectified XML element :rtype: lxml.objectify.ObjectifiedElement - .. versionadded:: {{ NEXT_RELEASE }} + .. versionadded:: 0.9.0 """ response = self.osc.request( method="GET", diff --git a/osctiny/extensions/staging.py b/osctiny/extensions/staging.py index 3d56dab..a0a26e2 100644 --- a/osctiny/extensions/staging.py +++ b/osctiny/extensions/staging.py @@ -10,7 +10,7 @@ https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.best-practices.webuiusage#staging_how_to -.. versionadded:: {{ NEXT_RELEASE }} +.. versionadded:: 0.9.0 """ import typing from urllib.parse import urljoin diff --git a/osctiny/osc.py b/osctiny/osc.py index 130ada1..5c9dfcb 100644 --- a/osctiny/osc.py +++ b/osctiny/osc.py @@ -128,7 +128,7 @@ class Osc: * Removed the ``cache`` parameter * Added the ``attributes`` extension - .. versionchanged:: {{NEXT_RELEASE}} + .. versionchanged:: 0.9.0 * Added the ``staging`` extension .. _SSL Cert Verification: @@ -392,7 +392,7 @@ def handle_params(self, url: str, method: str, params: ParamsType) \ Added the ``url`` and ``method`` parameters - .. versionchanged:: {{ NEXT_RELEASE }} + .. versionchanged:: 0.9.0 Instances of ``ObjectifiedElement`` are accepted for argument ``params`` """ diff --git a/osctiny/utils/xml.py b/osctiny/utils/xml.py index 8b0b42e..1ce007f 100644 --- a/osctiny/utils/xml.py +++ b/osctiny/utils/xml.py @@ -46,7 +46,7 @@ def get_objectified_xml(response: typing.Union[Response, str, bytes]) -> Objecti Carved out from ``Osc`` class - .. versionchanged:: {{ NEXT_RELEASE }} + .. versionchanged:: 0.9.0 Accepts also bytes diff --git a/setup.py b/setup.py index cb56e7d..24005d3 100755 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ def _filter(requires): setup( name='osc-tiny', - version='0.8.2', + version='0.9.0', description='Client API for openSUSE BuildService', long_description=long_description, long_description_content_type="text/markdown",