diff --git a/python-pyusb.changes b/python-pyusb.changes index a4bb13e..4b8b59c 100644 --- a/python-pyusb.changes +++ b/python-pyusb.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Dec 7 19:54:08 UTC 2021 - pgajdos@suse.com + +- version update to 1.2.1 + Added: + * core: implement Device.__eq__() (#147) + Changed: + * libusb0: implement is_kernel_driver_active() for FreeBSD and DragonFly BSD (#365) + * libusb0: implement is_kernel_driver_active() for Mac OS (#374) + Fixed: + * core: make Device hashable again (PR #376) + * setup: prevent installation on unsupported Python versions (PR #364) + * control: fix undefined USBError (#372) + * tests: fix legacy/hardware tests for Python 3.9 (#373) +- do not require pytest-runner for build, it is not needed + ------------------------------------------------------------------- Sun May 9 16:47:59 UTC 2021 - Dirk Müller diff --git a/python-pyusb.spec b/python-pyusb.spec index d3425db..dedd005 100644 --- a/python-pyusb.spec +++ b/python-pyusb.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global skip_python2 1 Name: python-pyusb -Version: 1.1.1 +Version: 1.2.1 Release: 0 Summary: USB access on the Python language # URL is incorrect on PyPI, gh#pyusb/pyusb#211 @@ -27,7 +27,7 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/pyusb/pyusb Source: https://files.pythonhosted.org/packages/source/p/pyusb/pyusb-%{version}.tar.gz -BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: dos2unix @@ -57,7 +57,7 @@ find . -name "*.rst" -exec dos2unix {} + %check # Testing mostly requires a device, which is not mocked or emulated # See https://github.com/pyusb/pyusb/issues/235 -%python_exec setup.py pytest --addopts="tests/test_find.py tests/test_util.py -k 'not FindDescriptorTest'" +%pytest tests/test_find.py tests/test_util.py -k 'not FindDescriptorTest' %files %{python_files} %license LICENSE diff --git a/pyusb-1.1.1.tar.gz b/pyusb-1.1.1.tar.gz deleted file mode 100644 index 4d737c3..0000000 --- a/pyusb-1.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d449ad916ce58aff60b89aae0b65ac130f289c24d6a5b7b317742eccffafc38 -size 74746 diff --git a/pyusb-1.2.1.tar.gz b/pyusb-1.2.1.tar.gz new file mode 100644 index 0000000..bc1f494 --- /dev/null +++ b/pyusb-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4cc7404a203144754164b8b40994e2849fde1cfff06b08492f12fff9d9de7b9 +size 75292