forked from pool/python-pynetbox
Accepting request 883644 from home:mnhauke:network:automation
- Update to version 6.0.1 * Fixes broken DetailEndpoint.list(). - Update to version 6.0.0 * BREAKING CHANGE Endpoint.all() and .filter() no longer return lists, instead they return a ReturnSet object now. Iterating over this object calls a generator which steps through paginated results now as-needed. * Endpoint.all() and .filter() now accept a limit kwarg that controls the page size of paginated results. * Fixes issue pickling responses from Endpoint.all() and `.filter(). * Implemented integration tests against four previous major NetBox releases. * Ends python 2 support. OBS-URL: https://build.opensuse.org/request/show/883644 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=43
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:84b390fa08e9cfa07703b7b1d500038d2adef3b170b45afcef3e9a46e37ca402
|
|
||||||
size 52600
|
|
3
pynetbox-6.0.1.tar.gz
Normal file
3
pynetbox-6.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b41c53bd40f3d03649fc016439cf38a98ffa8563f8b02b44d008937687155a61
|
||||||
|
size 57503
|
@@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 7 15:27:32 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 6.0.1
|
||||||
|
* Fixes broken DetailEndpoint.list().
|
||||||
|
- Update to version 6.0.0
|
||||||
|
* BREAKING CHANGE Endpoint.all() and .filter() no longer return
|
||||||
|
lists, instead they return a ReturnSet object now. Iterating
|
||||||
|
over this object calls a generator which steps through
|
||||||
|
paginated results now as-needed.
|
||||||
|
* Endpoint.all() and .filter() now accept a limit kwarg that
|
||||||
|
controls the page size of paginated results.
|
||||||
|
* Fixes issue pickling responses from Endpoint.all() and
|
||||||
|
`.filter().
|
||||||
|
* Implemented integration tests against four previous major
|
||||||
|
NetBox releases.
|
||||||
|
* Ends python 2 support.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 4 21:48:00 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
Mon Jan 4 21:48:00 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
@@ -18,13 +18,14 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pynetbox
|
Name: python-pynetbox
|
||||||
Version: 5.3.0
|
Version: 6.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: NetBox API client library
|
Summary: NetBox API client library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/digitalocean/pynetbox
|
URL: https://github.com/digitalocean/pynetbox
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pynetbox/pynetbox-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pynetbox/pynetbox-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module netaddr}
|
BuildRequires: %{python_module netaddr}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@@ -55,7 +56,7 @@ Python API client library for NetBox.
|
|||||||
%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests
|
%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pytest tests/unit
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md CHANGELOG.md
|
%doc README.md CHANGELOG.md
|
||||||
|
Reference in New Issue
Block a user