14
0

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:
2021-04-07 20:06:09 +00:00
committed by Git OBS Bridge
parent ce117fd297
commit 0099ccbb42
4 changed files with 24 additions and 5 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b41c53bd40f3d03649fc016439cf38a98ffa8563f8b02b44d008937687155a61
size 57503

View File

@@ -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>

View File

@@ -18,13 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pynetbox
Version: 5.3.0
Version: 6.0.1
Release: 0
Summary: NetBox API client library
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/digitalocean/pynetbox
Source: https://files.pythonhosted.org/packages/source/p/pynetbox/pynetbox-%{version}.tar.gz
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module netaddr}
BuildRequires: %{python_module pytest}
@@ -55,7 +56,7 @@ Python API client library for NetBox.
%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests
%check
%pytest
%pytest tests/unit
%files %{python_files}
%doc README.md CHANGELOG.md