From 0b9dd2c2fbd8982fee662fc5c932706dd335e8cc9f1f232c348d1843f9c9a6dd Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 3 Jan 2024 10:22:52 +0000 Subject: [PATCH] - update to 0.14.4: * Fix type of info.printer_uri_supported * fix: remove I/O in the event loop when creating IPP * Convert client class to dataclass - update to 0.14.0: * Export all models * Thaw models - update to 0.13.0: * Allow for markers and URIs being single values * Improvements to serializer * Improve typing * Refactor models * Configure Renovate * Improvements to serializer * Improve typing * Define exports * Improve models test coverage * Refactor models * Development workflow updates - update to 0.12.1: * Add marker/other attributes to default attributes - update to 0.12.0: * This release requires Python 3.9 * Use encoded value length when serializing attributes * Accept successful and informational status codes * Add additional tags/enum cleanup. Fix date parsing. * Adding printer-more-info support * Packaging Overhaul (Python 3.9) * Add Kyocera to known makes * Parse unsupported-attributes group OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyipp?expand=0&rev=5 --- pyipp-0.11.0.tar.gz | 3 --- pyipp-0.14.4-gh-tests.tar.gz | 3 +++ pyipp-0.14.4.tar.gz | 3 +++ python-pyipp.changes | 36 ++++++++++++++++++++++++++++++++++++ python-pyipp.spec | 14 ++++++++++---- 5 files changed, 52 insertions(+), 7 deletions(-) delete mode 100644 pyipp-0.11.0.tar.gz create mode 100644 pyipp-0.14.4-gh-tests.tar.gz create mode 100644 pyipp-0.14.4.tar.gz diff --git a/pyipp-0.11.0.tar.gz b/pyipp-0.11.0.tar.gz deleted file mode 100644 index 00fd857..0000000 --- a/pyipp-0.11.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7377e752052a41830cc550f4938c35a642250376c4c97c3b680310850ec00761 -size 32298 diff --git a/pyipp-0.14.4-gh-tests.tar.gz b/pyipp-0.14.4-gh-tests.tar.gz new file mode 100644 index 0000000..0079ccb --- /dev/null +++ b/pyipp-0.14.4-gh-tests.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:799e37e32222f5182d25fcf778daddd7085ba088149850ff2d6ef07861e77f12 +size 83502 diff --git a/pyipp-0.14.4.tar.gz b/pyipp-0.14.4.tar.gz new file mode 100644 index 0000000..f113d9f --- /dev/null +++ b/pyipp-0.14.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d70ded92f93232fadd942175ba52e8746653db62a1df4fde839bc900a711aef +size 15044 diff --git a/python-pyipp.changes b/python-pyipp.changes index f3172cc..5f3967b 100644 --- a/python-pyipp.changes +++ b/python-pyipp.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Wed Jan 3 10:20:48 UTC 2024 - Dirk Müller + +- update to 0.14.4: + * Fix type of info.printer_uri_supported + * fix: remove I/O in the event loop when creating IPP + * Convert client class to dataclass +- update to 0.14.0: + * Export all models + * Thaw models +- update to 0.13.0: + * Allow for markers and URIs being single values + * Improvements to serializer + * Improve typing + * Refactor models + * Configure Renovate + * Improvements to serializer + * Improve typing + * Define exports + * Improve models test coverage + * Refactor models + * Development workflow updates +- update to 0.12.1: + * Add marker/other attributes to default attributes +- update to 0.12.0: + * This release requires Python 3.9 + * Use encoded value length when serializing attributes + * Accept successful and informational status codes + * Add additional tags/enum cleanup. Fix date parsing. + * Adding printer-more-info support + * Packaging Overhaul (Python 3.9) + * Add Kyocera to known makes + * Parse unsupported-attributes group + * Add KYOCERA ECOSYS M2540dn test fixture + * Update Tests + ------------------------------------------------------------------- Wed Jan 3 10:12:47 UTC 2024 - Dirk Müller diff --git a/python-pyipp.spec b/python-pyipp.spec index 2ae06f6..57dfcd2 100644 --- a/python-pyipp.spec +++ b/python-pyipp.spec @@ -18,19 +18,24 @@ %{?sle15_python_module_pythons} Name: python-pyipp -Version: 0.11.0 +Version: 0.14.4 Release: 0 Summary: Asynchronous Python client for Internet Printing Protocol (IPP) License: MIT Group: Development/Languages/Python URL: https://github.com/ctalkington/python-ipp -Source: https://github.com/ctalkington/python-ipp/archive/%{version}.tar.gz#/pyipp-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/pyipp/pyipp-%{version}.tar.gz +Source1: https://github.com/ctalkington/python-ipp/archive/%{version}.tar.gz#/pyipp-%{version}-gh-tests.tar.gz BuildRequires: %{python_module aiohttp >= 3.6.2} BuildRequires: %{python_module async-timeout} +BuildRequires: %{python_module base >= 3.9} +BuildRequires: %{python_module covdefaults} BuildRequires: %{python_module deepmerge >= 0.1.0} BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} +BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module wheel} BuildRequires: %{python_module yarl >= 1.4.2} BuildRequires: fdupes @@ -45,7 +50,8 @@ BuildArch: noarch Asynchronous Python client for Internet Printing Protocol (IPP). %prep -%setup -q -n python-ipp-%{version} +%autosetup -p1 -n pyipp-%{version} -a1 +ln -s python-ipp-%{version}/tests/ tests rm tests/test_client.py tests/test_interface.py %build