From 228d681cca17d426866cc029a1c60fd9cab59ba9008195cd16cb8d55719701fe Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 10 Oct 2024 15:40:34 +0000 Subject: [PATCH] - update to 8.0.0: * Updated to simpler typing syntax for optional arguments and iterable types using `pyupgrade` * Reformatted files constrained to Python 3.8+ syntax using `black` * Updated documentation to prefer `tox` usage * Updated documentation dependencies and removed upper bounds on their versions * Add support for Python 3.12 * Remove upper bound on dependencies * Support for Python 3.6 has been removed due to its impending end of life and * Remove Python 3.10 testing and support for now, as Travis CI only has overridden by any value specified at call time OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apiron?expand=0&rev=15 --- apiron-7.1.0.post3.tar.gz | 3 --- apiron-8.0.0.tar.gz | 3 +++ python-apiron.changes | 20 +++++++++++++++++--- python-apiron.spec | 15 ++++++--------- 4 files changed, 26 insertions(+), 15 deletions(-) delete mode 100644 apiron-7.1.0.post3.tar.gz create mode 100644 apiron-8.0.0.tar.gz diff --git a/apiron-7.1.0.post3.tar.gz b/apiron-7.1.0.post3.tar.gz deleted file mode 100644 index a33e07b..0000000 --- a/apiron-7.1.0.post3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce80f4aa02bb87a9bce4a91ee6fda6a265c2e65b00dfc1cdb1aa7e7f2abf5040 -size 16413 diff --git a/apiron-8.0.0.tar.gz b/apiron-8.0.0.tar.gz new file mode 100644 index 0000000..a1f3a85 --- /dev/null +++ b/apiron-8.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f4113473c82a0f098f91bd1bcfdc9fc3a3f41ebbb9c007d2e5aa24cb82f3620 +size 16360 diff --git a/python-apiron.changes b/python-apiron.changes index d0ee284..8a59441 100644 --- a/python-apiron.changes +++ b/python-apiron.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Oct 10 15:37:38 UTC 2024 - Dirk Müller + +- update to 8.0.0: + * Updated to simpler typing syntax for optional arguments and + iterable types using `pyupgrade` + * Reformatted files constrained to Python 3.8+ syntax using + `black` + * Updated documentation to prefer `tox` usage + * Updated documentation dependencies and removed upper bounds + on their versions + * Add support for Python 3.12 + * Remove upper bound on dependencies + ------------------------------------------------------------------- Wed Jan 17 22:07:31 UTC 2024 - Matej Cepl @@ -46,9 +60,9 @@ Sun Aug 29 08:36:10 UTC 2021 - Axel Braun Use PEP 517 builds * Testing matrix and trove classifiers for Python 3.9 Type hints for all classes, methods, and functions - * Support for Python 3.6 has been removed due to its impending end of life and + * Support for Python 3.6 has been removed due to its impending end of life and the desire to leverage features from 3.7 - * Remove Python 3.10 testing and support for now, as Travis CI only has + * Remove Python 3.10 testing and support for now, as Travis CI only has Python 3.10.0a5 which isn't compatible with recent pytest-randomly releases * Indicate (by renaming) that all functions in the client module are private, except for call @@ -61,7 +75,7 @@ Mon Aug 31 04:37:49 UTC 2020 - Steve Kowalik * Ability to specify auth for a Service definition so all calls to the service use the defined authentication * Ability to specify return_raw_response_object at the endpoint level, - overridden by any value specified at call time + overridden by any value specified at call time ------------------------------------------------------------------- Tue Dec 3 07:57:50 UTC 2019 - Tomáš Chvátal diff --git a/python-apiron.spec b/python-apiron.spec index 44861f0..75bb1b7 100644 --- a/python-apiron.spec +++ b/python-apiron.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package python-apiron # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2019-2022 Dr. Axel Braun @@ -18,16 +18,13 @@ %{?sle15_python_module_pythons} -%define skip_python2 1 -%define skip_python36 1 -%define modname apiron -Name: python-%{modname} -Version: 7.1.0.post3 +Name: python-apiron +Version: 8.0.0 Release: 0 Summary: Apiron helps you cook a tasty client for RESTful APIs License: MIT URL: https://github.com/ithaka/apiron -Source: https://files.pythonhosted.org/packages/source/a/apiron/%{modname}-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/a/apiron/apiron-%{version}.tar.gz BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} @@ -45,7 +42,7 @@ Gathering data from multiple services has become a ubiquitous task for web appli apiron provides declarative, structured configuration of services and endpoints with a unified interface for interacting with them. %prep -%setup -q -n %{modname}-%{version} +%setup -q -n apiron-%{version} %build %pyproject_wheel @@ -62,6 +59,6 @@ apiron provides declarative, structured configuration of services and endpoints %doc README.md %license LICENSE %{python_sitelib}/apiron -%{python_sitelib}/apiron-%{version}*-info +%{python_sitelib}/apiron-%{version}.dist-info %changelog