1
0

Compare commits

10 Commits

Author SHA256 Message Date
8f7d23cc98 Accepting request 1292516 from devel:languages:python
- update to 1.14.1:
  * 672 Update running configuration commands to be full
    versions. Flatbot OUI and PROTOCOL file updates.
- update to 1.14.0:
  * Library mapping updates and fixes.
  * NIST library updates and fixes for CVE reporting.
  * Documentation fixes.
  * Palo Alto brace configuration fixes.
  * 646 Add Additional SROS Tests.
  * 649 Add RUNNING_CONFIG_MAPPER to help map platform to running
    configuration command.
  * 652 Flatbot OUI File Updates.
  * 653 Flatbot PROTOCOL File Updates.
  * 662 NIST library updates and fixes.
  * 640 Fix documentation issues.
  * 641 Fix documentation for Jinja examples.
  * 651 Fix Palo set format config parsing for curly brace.

OBS-URL: https://build.opensuse.org/request/show/1292516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netutils?expand=0&rev=11
2025-07-14 08:52:14 +00:00
d01313e283 - update to 1.14.1:
* 672 Update running configuration commands to be full
    versions. Flatbot OUI and PROTOCOL file updates.
- update to 1.14.0:
  * Library mapping updates and fixes.
  * NIST library updates and fixes for CVE reporting.
  * Documentation fixes.
  * Palo Alto brace configuration fixes.
  * 646 Add Additional SROS Tests.
  * 649 Add RUNNING_CONFIG_MAPPER to help map platform to running
    configuration command.
  * 652 Flatbot OUI File Updates.
  * 653 Flatbot PROTOCOL File Updates.
  * 662 NIST library updates and fixes.
  * 640 Fix documentation issues.
  * 641 Fix documentation for Jinja examples.
  * 651 Fix Palo set format config parsing for curly brace.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netutils?expand=0&rev=22
2025-07-13 13:50:00 +00:00
be17e3d639 Accepting request 1269145 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1269145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netutils?expand=0&rev=10
2025-04-14 14:07:59 +00:00
330d01df60 Enable sle15_python_module_pythons to build for Python 3.11 on Leap (project is now Python 3.9+)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netutils?expand=0&rev=20
2025-04-14 07:53:07 +00:00
230eedb276 Accepting request 1267107 from devel:languages:python
- Update to 1.13.0
  * Added is_reversible_wildcardmask, netmask_to_wildcardmask,
    and wildcardmask_to_netmask functions.
  * Added aruba_os and aruba_osswitch parsers.
- Drop fix-version-in-pyproject.patch, fixed upstream

OBS-URL: https://build.opensuse.org/request/show/1267107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netutils?expand=0&rev=9
2025-04-04 16:09:45 +00:00
b891bc20ed - Update to 1.13.0
* Added is_reversible_wildcardmask, netmask_to_wildcardmask,
    and wildcardmask_to_netmask functions.
  * Added aruba_os and aruba_osswitch parsers.
- Drop fix-version-in-pyproject.patch, fixed upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netutils?expand=0&rev=18
2025-04-04 10:53:32 +00:00
86e048839b Accepting request 1238027 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1238027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netutils?expand=0&rev=8
2025-01-15 16:45:20 +00:00
3d4458f2da - Update to 1.12.0
* Added Python 3.13 support.
  * Removed Python 3.8 support.
- from version 1.11.0
  * (no changes reported)
- Add fix-version-in-pyproject.patch to fix version in pyproject.toml
- Drop use-legacycrypt-if-required.patch, merged upstream
- Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netutils?expand=0&rev=16
2025-01-15 11:45:46 +00:00
2c225b3e9e Accepting request 1227889 from devel:languages:python
- Update to 1.10.0:
  * Added Functionality to ip_network filter to support method calls
    with kwargs.
  * Fix configuration parsers to allow newlines, no longer auto strip
    all newlines.
  * Added NIST URL creation and platform mapper.
  * Added DNA Center platform mappings.
  * Improved error message when duplicate line is parsed.
- Add patch use-legacycrypt-if-required.patch:
  * Use the legacycrypt module where we need to.
- Switch to autosetup macros.

OBS-URL: https://build.opensuse.org/request/show/1227889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netutils?expand=0&rev=7
2024-12-03 19:46:26 +00:00
2a6450242f - Update to 1.10.0:
* Added Functionality to ip_network filter to support method calls
    with kwargs.
  * Fix configuration parsers to allow newlines, no longer auto strip
    all newlines.
  * Added NIST URL creation and platform mapper.
  * Added DNA Center platform mappings.
  * Improved error message when duplicate line is parsed.
- Add patch use-legacycrypt-if-required.patch:
  * Use the legacycrypt module where we need to.
- Switch to autosetup macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netutils?expand=0&rev=14
2024-12-03 03:46:40 +00:00
4 changed files with 76 additions and 7 deletions

3
netutils-1.14.1.tar.gz Normal file
View File

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

View File

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

View File

@@ -1,3 +1,66 @@
-------------------------------------------------------------------
Sun Jul 13 13:49:21 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.14.1:
* 672 Update running configuration commands to be full
versions. Flatbot OUI and PROTOCOL file updates.
- update to 1.14.0:
* Library mapping updates and fixes.
* NIST library updates and fixes for CVE reporting.
* Documentation fixes.
* Palo Alto brace configuration fixes.
* 646 Add Additional SROS Tests.
* 649 Add RUNNING_CONFIG_MAPPER to help map platform to running
configuration command.
* 652 Flatbot OUI File Updates.
* 653 Flatbot PROTOCOL File Updates.
* 662 NIST library updates and fixes.
* 640 Fix documentation issues.
* 641 Fix documentation for Jinja examples.
* 651 Fix Palo set format config parsing for curly brace.
-------------------------------------------------------------------
Thu Apr 10 15:12:47 UTC 2025 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
- Enable sle15_python_module_pythons to build for Python 3.11 on Leap
(project is now Python 3.9+)
-------------------------------------------------------------------
Fri Apr 4 08:01:23 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.13.0
* Added is_reversible_wildcardmask, netmask_to_wildcardmask,
and wildcardmask_to_netmask functions.
* Added aruba_os and aruba_osswitch parsers.
- Drop fix-version-in-pyproject.patch, fixed upstream
-------------------------------------------------------------------
Tue Jan 14 10:42:23 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.12.0
* Added Python 3.13 support.
* Removed Python 3.8 support.
- from version 1.11.0
* (no changes reported)
- Add fix-version-in-pyproject.patch to fix version in pyproject.toml
- Drop use-legacycrypt-if-required.patch, merged upstream
- Update BuildRequires from pyproject.toml
-------------------------------------------------------------------
Tue Dec 3 03:45:37 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.10.0:
* Added Functionality to ip_network filter to support method calls
with kwargs.
* Fix configuration parsers to allow newlines, no longer auto strip
all newlines.
* Added NIST URL creation and platform mapper.
* Added DNA Center platform mappings.
* Improved error message when duplicate line is parsed.
- Add patch use-legacycrypt-if-required.patch:
* Use the legacycrypt module where we need to.
- Switch to autosetup macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 7 13:18:40 UTC 2024 - Dirk Müller <dmueller@suse.com> Tue May 7 13:18:40 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-netutils # spec file for package python-netutils
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,17 @@
# #
%{?sle15_python_module_pythons}
Name: python-netutils Name: python-netutils
Version: 1.8.1 Version: 1.14.1
Release: 0 Release: 0
Summary: Common helper functions useful in network automation Summary: Common helper functions useful in network automation
License: Apache-2.0 License: Apache-2.0
URL: https://netutils.readthedocs.io URL: https://netutils.readthedocs.io
Source: https://github.com/networktocode/netutils/archive/refs/tags/v%{version}.tar.gz#/netutils-%{version}.tar.gz Source: https://github.com/networktocode/netutils/archive/refs/tags/v%{version}.tar.gz#/netutils-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module jinja2} BuildRequires: %{python_module jinja2}
BuildRequires: %{python_module legacycrypt if %python-base >= 3.13}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1} BuildRequires: %{python_module poetry-core >= 1}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
@@ -33,13 +35,17 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Recommends: python-napalm Recommends: python-napalm
BuildArch: noarch BuildArch: noarch
%if 0%{?python_version_nodots} >= 313
Requires: python-legacycrypt
%endif
%python_subpackages %python_subpackages
%description %description
A Python library that is a collection of objects for common network automation tasks. A Python library that is a collection of objects for common network automation tasks.
%prep %prep
%setup -q -n netutils-%{version} %autosetup -p1 -n netutils-%{version}
chmod -x netutils/lib_helpers.py
%build %build
%pyproject_wheel %pyproject_wheel