Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-snimpy for openSUSE:Factory 
checked in at 2025-12-10 15:30:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-snimpy (Old)
 and      /work/SRC/openSUSE:Factory/.python-snimpy.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-snimpy"

Wed Dec 10 15:30:44 2025 rev:12 rq:1321716 version:1.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-snimpy/python-snimpy.changes      
2025-01-29 16:17:10.928399365 +0100
+++ /work/SRC/openSUSE:Factory/.python-snimpy.new.1939/python-snimpy.changes    
2025-12-10 15:31:30.772738046 +0100
@@ -1,0 +2,9 @@
+Tue Dec  9 09:07:50 UTC 2025 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to 1.0.4
+  * Temporarily depend on pyasn1 <= 0.6.0 to fix compatibility issues.
+  * Convert build to PEP517.
+- Update BuildRequires from setup.py
+- Use Python 3.11 on SLE-15 by default
+
+-------------------------------------------------------------------

Old:
----
  snimpy-1.0.3.tar.gz

New:
----
  snimpy-1.0.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-snimpy.spec ++++++
--- /var/tmp/diff_new_pack.mIeqrn/_old  2025-12-10 15:31:31.592772620 +0100
+++ /var/tmp/diff_new_pack.mIeqrn/_new  2025-12-10 15:31:31.596772789 +0100
@@ -16,9 +16,9 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-
+%{?sle15_python_module_pythons}
 Name:           python-snimpy
-Version:        1.0.3
+Version:        1.0.4
 Release:        0
 Summary:        Interactive SNMP tool
 License:        ISC
@@ -28,6 +28,7 @@
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module vcversioner}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes

++++++ snimpy-1.0.3.tar.gz -> snimpy-1.0.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/.github/FUNDING.yml 
new/snimpy-1.0.4/.github/FUNDING.yml
--- old/snimpy-1.0.3/.github/FUNDING.yml        1970-01-01 01:00:00.000000000 
+0100
+++ new/snimpy-1.0.4/.github/FUNDING.yml        2023-07-02 17:55:20.000000000 
+0200
@@ -0,0 +1,3 @@
+---
+github: vincentbernat
+custom: https://www.buymeacoffee.com/vincentbernat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/.github/dependabot.yml 
new/snimpy-1.0.4/.github/dependabot.yml
--- old/snimpy-1.0.3/.github/dependabot.yml     1970-01-01 01:00:00.000000000 
+0100
+++ new/snimpy-1.0.4/.github/dependabot.yml     2022-12-02 18:49:39.000000000 
+0100
@@ -0,0 +1,9 @@
+---
+version: 2
+updates:
+  - package-ecosystem: github-actions
+    directory: /
+    commit-message:
+      prefix: build
+    schedule:
+      interval: monthly
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/.github/workflows/tests.yml 
new/snimpy-1.0.4/.github/workflows/tests.yml
--- old/snimpy-1.0.3/.github/workflows/tests.yml        1970-01-01 
01:00:00.000000000 +0100
+++ new/snimpy-1.0.4/.github/workflows/tests.yml        2025-10-25 
14:54:03.000000000 +0200
@@ -0,0 +1,63 @@
+---
+name: Tests
+on:
+  push:
+    branches:
+      - master
+    tags:
+      - "*.*"
+  pull_request:
+  schedule:
+    - cron: 30 7 2 * *
+jobs:
+  tests:
+    name: Run tests
+    runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        python-version:
+          - "3.8"
+          - "3.9"
+          - "3.10"
+          - "3.11"
+          - "3.12"
+          - "3.13"
+    steps:
+      - uses: actions/checkout@v4
+        with:
+          submodules: true
+          fetch-depth: 0
+      - name: Setup Python ${{ matrix.python-version }}
+        uses: actions/setup-python@v6
+        with:
+          python-version: ${{ matrix.python-version }}
+      - name: Install non-Python dependencies
+        run: >
+          sudo apt -qy update;
+          sudo apt -qy install
+          pkg-config
+          libsmi2-dev
+          libsnmp-dev
+          snmp-mibs-downloader
+          ncurses-term
+      - name: Install Python dependencies
+        run: |
+          python -m pip install --upgrade pip
+          pip install tox tox-gh-actions wheel
+      - name: Run tests with tox
+        run: tox
+      - name: Collect coveralls data
+        uses: AndreMiras/coveralls-python-action@develop
+        with:
+          parallel: true
+
+  coveralls_finish:
+    name: Coveralls.io
+    needs: tests
+    runs-on: ubuntu-latest
+    steps:
+      - name: Send results to coveralls.io
+        uses: AndreMiras/coveralls-python-action@develop
+        with:
+          parallel-finished: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/.gitignore new/snimpy-1.0.4/.gitignore
--- old/snimpy-1.0.3/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/snimpy-1.0.4/.gitignore 2022-12-14 11:15:32.000000000 +0100
@@ -0,0 +1,20 @@
+*.pyc
+*~
+*.so
+/version.txt
+/build
+/snimpy.egg-info
+/snimpy/_version.py
+/*.egg
+/.eggs/
+/dist
+/MANIFEST
+/.coverage
+/htmlcov
+/.tox
+/.noseids
+/docs/_build
+/result
+__pycache__
+.index
+cscope.out
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/.gitmodules new/snimpy-1.0.4/.gitmodules
--- old/snimpy-1.0.3/.gitmodules        1970-01-01 01:00:00.000000000 +0100
+++ new/snimpy-1.0.4/.gitmodules        2016-11-15 07:58:49.000000000 +0100
@@ -0,0 +1,3 @@
+[submodule "docs/_themes"]
+       path = docs/_themes
+       url = https://github.com/mitsuhiko/flask-sphinx-themes.git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/HISTORY.rst new/snimpy-1.0.4/HISTORY.rst
--- old/snimpy-1.0.3/HISTORY.rst        2024-05-09 18:56:05.000000000 +0200
+++ new/snimpy-1.0.4/HISTORY.rst        2025-10-25 17:22:22.000000000 +0200
@@ -3,6 +3,12 @@
 History
 -------
 
+1.0.4 (2025-10-25)
+++++++++++++++++++
+
+* Temporarily depend on pyasn1 <= 0.6.0 to fix compatibility issues.
+* Convert build to PEP517.
+
 1.0.3 (2024-05-09)
 ++++++++++++++++++
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/Makefile new/snimpy-1.0.4/Makefile
--- old/snimpy-1.0.3/Makefile   1970-01-01 01:00:00.000000000 +0100
+++ new/snimpy-1.0.4/Makefile   2024-05-09 19:02:53.000000000 +0200
@@ -0,0 +1,58 @@
+.PHONY: clean-pyc clean-build docs
+
+open := $(shell { which xdg-open || which open; } 2>/dev/null)
+python = python3
+
+help:
+       @echo "Please use \`make <target>' where <target> is one of"
+       @echo "  clean-build   to remove build artifacts"
+       @echo "  clean-pyc     to remove Python file artifacts"
+       @echo "  lint          to check style with flake8"
+       @echo "  test          to run tests quickly with the default Python"
+       @echo "  testall       to run tests on every Python version with tox"
+       @echo "  coverage      to check code coverage quickly with the default 
Python"
+       @echo "  docs          to generate Sphinx HTML documentation, including 
API docs"
+       @echo "  release       to package and upload a release"
+       @echo "  sdist         to package"
+
+clean: clean-build clean-pyc
+
+clean-build:
+       rm -fr build/
+       rm -fr dist/
+       rm -fr *.egg-info
+
+clean-pyc:
+       find . -name '*.pyc' -type f -exec rm -f {} +
+       find . -name '*.pyo' -type f -exec rm -f {} +
+       find . -name '*~' -type f -exec rm -f {} +
+       find . -name '__pycache__' -type d -exec rm -rf {} +
+
+lint:
+       flake8 snimpy tests
+       interrogate --fail-under 50 -v snimpy tests
+
+test:
+       $(python) -m pytest
+
+test-all:
+       tox
+
+coverage:
+       coverage run --source snimpy -m unittest discover -s tests
+       coverage report -m
+       coverage html
+       $(open) htmlcov/index.html
+
+docs:
+       $(MAKE) -C docs clean
+       $(MAKE) -C docs html
+       $(open) docs/_build/html/index.html
+
+release: clean
+       $(python) -m build
+       twine upload dist/*.tar.gz
+
+sdist: clean
+       $(python) -m build
+       ls -l dist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/PKG-INFO new/snimpy-1.0.4/PKG-INFO
--- old/snimpy-1.0.3/PKG-INFO   2024-05-09 19:04:04.683971600 +0200
+++ new/snimpy-1.0.4/PKG-INFO   2025-10-25 17:28:39.367387800 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
 Name: snimpy
-Version: 1.0.3
+Version: 1.0.4
 Summary: interactive SNMP tool
 Home-page: https://github.com/vincentbernat/snimpy
 Author: Vincent Bernat
@@ -17,9 +17,19 @@
 Description-Content-Type: text/x-rst
 License-File: AUTHORS.rst
 Requires-Dist: cffi>=1.0.0
-Requires-Dist: pysnmp-lextudio<6,>=4
+Requires-Dist: pysnmp<6,>=4
+Requires-Dist: pyasn1<=0.6.0
 Requires-Dist: pyasyncore; python_version >= "3.12"
 Requires-Dist: setuptools
+Dynamic: author
+Dynamic: author-email
+Dynamic: classifier
+Dynamic: description
+Dynamic: description-content-type
+Dynamic: home-page
+Dynamic: license-file
+Dynamic: requires-dist
+Dynamic: summary
 
 ===============================
 snimpy
@@ -87,6 +97,12 @@
 History
 -------
 
+1.0.4 (2025-10-25)
+++++++++++++++++++
+
+* Temporarily depend on pyasn1 <= 0.6.0 to fix compatibility issues.
+* Convert build to PEP517.
+
 1.0.3 (2024-05-09)
 ++++++++++++++++++
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/docs/Makefile 
new/snimpy-1.0.4/docs/Makefile
--- old/snimpy-1.0.3/docs/Makefile      1970-01-01 01:00:00.000000000 +0100
+++ new/snimpy-1.0.4/docs/Makefile      2016-11-15 07:58:49.000000000 +0100
@@ -0,0 +1,177 @@
+# Makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS    =
+SPHINXBUILD   = sphinx-build
+PAPER         =
+BUILDDIR      = _build
+
+# User-friendly check for sphinx-build
+ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
+$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx 
installed, then set the SPHINXBUILD environment variable to point to the full 
path of the '$(SPHINXBUILD)' executable. Alternatively you can add the 
directory with the executable to your PATH. If you don't have Sphinx installed, 
grab it from http://sphinx-doc.org/)
+endif
+
+# Internal variables.
+PAPEROPT_a4     = -D latex_paper_size=a4
+PAPEROPT_letter = -D latex_paper_size=letter
+ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
+# the i18n builder cannot share the environment and doctrees with the others
+I18NSPHINXOPTS  = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
+
+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp 
epub latex latexpdf text man changes linkcheck doctest gettext
+
+help:
+       @echo "Please use \`make <target>' where <target> is one of"
+       @echo "  html       to make standalone HTML files"
+       @echo "  dirhtml    to make HTML files named index.html in directories"
+       @echo "  singlehtml to make a single large HTML file"
+       @echo "  pickle     to make pickle files"
+       @echo "  json       to make JSON files"
+       @echo "  htmlhelp   to make HTML files and a HTML help project"
+       @echo "  qthelp     to make HTML files and a qthelp project"
+       @echo "  devhelp    to make HTML files and a Devhelp project"
+       @echo "  epub       to make an epub"
+       @echo "  latex      to make LaTeX files, you can set PAPER=a4 or 
PAPER=letter"
+       @echo "  latexpdf   to make LaTeX files and run them through pdflatex"
+       @echo "  latexpdfja to make LaTeX files and run them through 
platex/dvipdfmx"
+       @echo "  text       to make text files"
+       @echo "  man        to make manual pages"
+       @echo "  texinfo    to make Texinfo files"
+       @echo "  info       to make Texinfo files and run them through makeinfo"
+       @echo "  gettext    to make PO message catalogs"
+       @echo "  changes    to make an overview of all changed/added/deprecated 
items"
+       @echo "  xml        to make Docutils-native XML files"
+       @echo "  pseudoxml  to make pseudoxml-XML files for display purposes"
+       @echo "  linkcheck  to check all external links for integrity"
+       @echo "  doctest    to run all doctests embedded in the documentation 
(if enabled)"
+
+clean:
+       rm -rf $(BUILDDIR)/*
+
+html:
+       $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
+       @echo
+       @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
+
+dirhtml:
+       $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
+       @echo
+       @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
+
+singlehtml:
+       $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
+       @echo
+       @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
+
+pickle:
+       $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
+       @echo
+       @echo "Build finished; now you can process the pickle files."
+
+json:
+       $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
+       @echo
+       @echo "Build finished; now you can process the JSON files."
+
+htmlhelp:
+       $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
+       @echo
+       @echo "Build finished; now you can run HTML Help Workshop with the" \
+             ".hhp project file in $(BUILDDIR)/htmlhelp."
+
+qthelp:
+       $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
+       @echo
+       @echo "Build finished; now you can run "qcollectiongenerator" with the" 
\
+             ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
+       @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/complexity.qhcp"
+       @echo "To view the help file:"
+       @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/complexity.qhc"
+
+devhelp:
+       $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
+       @echo
+       @echo "Build finished."
+       @echo "To view the help file:"
+       @echo "# mkdir -p $$HOME/.local/share/devhelp/complexity"
+       @echo "# ln -s $(BUILDDIR)/devhelp 
$$HOME/.local/share/devhelp/complexity"
+       @echo "# devhelp"
+
+epub:
+       $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
+       @echo
+       @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
+
+latex:
+       $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+       @echo
+       @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
+       @echo "Run \`make' in that directory to run these through (pdf)latex" \
+             "(use \`make latexpdf' here to do that automatically)."
+
+latexpdf:
+       $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+       @echo "Running LaTeX files through pdflatex..."
+       $(MAKE) -C $(BUILDDIR)/latex all-pdf
+       @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+
+latexpdfja:
+       $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+       @echo "Running LaTeX files through platex and dvipdfmx..."
+       $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
+       @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+
+text:
+       $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
+       @echo
+       @echo "Build finished. The text files are in $(BUILDDIR)/text."
+
+man:
+       $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
+       @echo
+       @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
+
+texinfo:
+       $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
+       @echo
+       @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
+       @echo "Run \`make' in that directory to run these through makeinfo" \
+             "(use \`make info' here to do that automatically)."
+
+info:
+       $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
+       @echo "Running Texinfo files through makeinfo..."
+       make -C $(BUILDDIR)/texinfo info
+       @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
+
+gettext:
+       $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
+       @echo
+       @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
+
+changes:
+       $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
+       @echo
+       @echo "The overview file is in $(BUILDDIR)/changes."
+
+linkcheck:
+       $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
+       @echo
+       @echo "Link check complete; look for any errors in the above output " \
+             "or in $(BUILDDIR)/linkcheck/output.txt."
+
+doctest:
+       $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
+       @echo "Testing of doctests in the sources finished, look at the " \
+             "results in $(BUILDDIR)/doctest/output.txt."
+
+xml:
+       $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
+       @echo
+       @echo "Build finished. The XML files are in $(BUILDDIR)/xml."
+
+pseudoxml:
+       $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
+       @echo
+       @echo "Build finished. The pseudo-XML files are in 
$(BUILDDIR)/pseudoxml."
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/flake.lock new/snimpy-1.0.4/flake.lock
--- old/snimpy-1.0.3/flake.lock 1970-01-01 01:00:00.000000000 +0100
+++ new/snimpy-1.0.4/flake.lock 2024-05-05 21:17:14.000000000 +0200
@@ -0,0 +1,41 @@
+{
+  "nodes": {
+    "flake-utils": {
+      "locked": {
+        "lastModified": 1644229661,
+        "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
+        "owner": "numtide",
+        "repo": "flake-utils",
+        "rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797",
+        "type": "github"
+      },
+      "original": {
+        "owner": "numtide",
+        "repo": "flake-utils",
+        "type": "github"
+      }
+    },
+    "nixpkgs": {
+      "locked": {
+        "lastModified": 1714750952,
+        "narHash": "sha256-oOUdvPrO8CbupgDSaPou+Jv6GL+uQA2QlE33D7OLzkM=",
+        "owner": "NixOS",
+        "repo": "nixpkgs",
+        "rev": "5fd8536a9a5932d4ae8de52b7dc08d92041237fc",
+        "type": "github"
+      },
+      "original": {
+        "id": "nixpkgs",
+        "type": "indirect"
+      }
+    },
+    "root": {
+      "inputs": {
+        "flake-utils": "flake-utils",
+        "nixpkgs": "nixpkgs"
+      }
+    }
+  },
+  "root": "root",
+  "version": 7
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/flake.nix new/snimpy-1.0.4/flake.nix
--- old/snimpy-1.0.3/flake.nix  1970-01-01 01:00:00.000000000 +0100
+++ new/snimpy-1.0.4/flake.nix  2024-05-05 21:40:49.000000000 +0200
@@ -0,0 +1,34 @@
+{
+  inputs = {
+    nixpkgs.url = "nixpkgs";
+    flake-utils.url = "github:numtide/flake-utils";
+  };
+  outputs = { self, ... }@inputs:
+    inputs.flake-utils.lib.eachDefaultSystem (system:
+      let
+        pkgs = inputs.nixpkgs.legacyPackages."${system}";
+        checkInputs = with pkgs.python3Packages; [ pytest coverage ];
+        buildInputs = with pkgs.python3Packages; [ pkgs.libsmi vcversioner ];
+        propagatedBuildInputs = with pkgs.python3Packages; [ cffi 
pysnmp-lextudio ipython ];
+      in
+      {
+        packages.default = pkgs.python3Packages.buildPythonPackage {
+          inherit checkInputs buildInputs propagatedBuildInputs;
+          name = "snimpy";
+          src = self;
+          preConfigure = ''
+            # Unfortunately, we cannot build a proper string from what we got 
in self
+            echo "1.0.0-0-000000000000" > version.txt
+          '';
+          checkPhase = "${pkgs.python3Packages.pytest}/bin/pytest";
+        };
+        apps.default = { type = "app"; program = 
"${self.packages."${system}".default}/bin/snimpy"; };
+        devShells.default = pkgs.mkShell {
+          name = "snimpy-dev";
+          buildInputs = checkInputs ++ buildInputs ++ propagatedBuildInputs ++
+            [
+              pkgs.python3Packages.ipython
+            ];
+        };
+      });
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/pyproject.toml 
new/snimpy-1.0.4/pyproject.toml
--- old/snimpy-1.0.3/pyproject.toml     1970-01-01 01:00:00.000000000 +0100
+++ new/snimpy-1.0.4/pyproject.toml     2025-10-25 14:54:03.000000000 +0200
@@ -0,0 +1,6 @@
+[build-system]
+requires = ["setuptools >= 42.0.0", "setuptools_scm", "cffi >= 1.0.0"]
+build-backend = "setuptools.build_meta"
+
+[tool.setuptools_scm]
+write_to = "snimpy/_version.py"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/setup.py new/snimpy-1.0.4/setup.py
--- old/snimpy-1.0.3/setup.py   2024-05-05 21:16:05.000000000 +0200
+++ new/snimpy-1.0.4/setup.py   2025-10-25 14:54:03.000000000 +0200
@@ -1,23 +1,9 @@
 import os
-from setuptools import setup
-from setuptools.command.test import test
-import snimpy
+from setuptools import setup, find_packages
 
 rtd = os.environ.get("READTHEDOCS", None) == "True"
 
 
-class SnimpyTestCommand(test):
-    def run_tests(self, *args, **kwds):
-        # Ensure we keep a reference to multiprocessing and pysnmp to
-        # avoid errors at the end of the test
-        import multiprocessing
-        import pysnmp
-
-        SnimpyTestCommand.multiprocessing = multiprocessing
-        SnimpyTestCommand.pysnmp = pysnmp
-        return test.run_tests(self, *args, **kwds)
-
-
 if __name__ == "__main__":
     readme = open("README.rst").read()
     history = open("HISTORY.rst").read().replace(".. :changelog:", "")
@@ -36,11 +22,11 @@
             "Topic :: System :: Monitoring",
         ],
         url="https://github.com/vincentbernat/snimpy";,
-        description=snimpy.__doc__,
+        description="interactive SNMP tool",
         long_description=readme + "\n\n" + history,
         long_description_content_type="text/x-rst",
-        author=snimpy.__author__,
-        author_email=snimpy.__email__,
+        author="Vincent Bernat",
+        author_email="[email protected]",
         packages=["snimpy"],
         entry_points={
             "console_scripts": [
@@ -52,14 +38,11 @@
         cffi_modules=(not rtd and ["snimpy/smi_build.py:ffi"] or []),
         install_requires=[
             "cffi >= 1.0.0",
-            "pysnmp-lextudio >= 4, < 6",
+            "pysnmp >= 4, < 6",
+            "pyasn1 <= 0.6.0",
             'pyasyncore; python_version >= "3.12"',
             "setuptools",
         ],
-        setup_requires=["cffi >= 1.0.0", "vcversioner"],
-        cmdclass={"test": SnimpyTestCommand},
-        pbr=False,
-        vcversioner={
-            "version_module_paths": ["snimpy/_version.py"],
-        },
+        setup_requires=["cffi >= 1.0.0", "setuptools_scm"],
+        use_scm_version=True,
     )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/snimpy/__init__.py 
new/snimpy-1.0.4/snimpy/__init__.py
--- old/snimpy-1.0.3/snimpy/__init__.py 2023-06-30 08:51:10.000000000 +0200
+++ new/snimpy-1.0.4/snimpy/__init__.py 2025-10-25 14:54:03.000000000 +0200
@@ -1,8 +1,5 @@
 """interactive SNMP tool"""
 
-__author__ = 'Vincent Bernat'
-__email__ = '[email protected]'
-
 try:
     from snimpy._version import __version__  # nopep8
 except ImportError:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/snimpy/_version.py 
new/snimpy-1.0.4/snimpy/_version.py
--- old/snimpy-1.0.3/snimpy/_version.py 2024-05-09 19:04:04.000000000 +0200
+++ new/snimpy-1.0.4/snimpy/_version.py 2025-10-25 17:28:39.000000000 +0200
@@ -1,5 +1,34 @@
+# file generated by setuptools-scm
+# don't change, don't track in version control
 
-# This file is automatically generated by setup.py.
-__version__ = '1.0.3'
-__sha__ = 'gabc4c21c55e4'
-__revision__ = 'gabc4c21c55e4'
+__all__ = [
+    "__version__",
+    "__version_tuple__",
+    "version",
+    "version_tuple",
+    "__commit_id__",
+    "commit_id",
+]
+
+TYPE_CHECKING = False
+if TYPE_CHECKING:
+    from typing import Tuple
+    from typing import Union
+
+    VERSION_TUPLE = Tuple[Union[int, str], ...]
+    COMMIT_ID = Union[str, None]
+else:
+    VERSION_TUPLE = object
+    COMMIT_ID = object
+
+version: str
+__version__: str
+__version_tuple__: VERSION_TUPLE
+version_tuple: VERSION_TUPLE
+commit_id: COMMIT_ID
+__commit_id__: COMMIT_ID
+
+__version__ = version = '1.0.4'
+__version_tuple__ = version_tuple = (1, 0, 4)
+
+__commit_id__ = commit_id = 'ge2a9392f1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/snimpy/snmp.py 
new/snimpy-1.0.4/snimpy/snmp.py
--- old/snimpy-1.0.3/snimpy/snmp.py     2024-05-05 21:16:05.000000000 +0200
+++ new/snimpy-1.0.4/snimpy/snmp.py     2025-10-25 14:54:03.000000000 +0200
@@ -106,8 +106,8 @@
         :param secname: Security name to use for SNMPv3 only.
         :type secname: str
         :param authprotocol: Authorization protocol to use for
-            SNMPv3. This can be `None` or either the string `SHA` or
-            `MD5`.
+            SNMPv3. This can be `None` or one of the strings `SHA`,
+            `MD5`, `SHA224`, `SHA256`, `SHA384` or `SHA512`.
         :type authprotocol: None or str
         :param authpassword: Authorization password if authorization
             protocol is not `None`.
@@ -154,7 +154,11 @@
                     None: cmdgen.usmNoAuthProtocol,
                     "MD5": cmdgen.usmHMACMD5AuthProtocol,
                     "SHA": cmdgen.usmHMACSHAAuthProtocol,
-                    "SHA1": cmdgen.usmHMACSHAAuthProtocol
+                    "SHA1": cmdgen.usmHMACSHAAuthProtocol,
+                    "SHA224": cmdgen.usmHMAC128SHA224AuthProtocol,
+                    "SHA256": cmdgen.usmHMAC192SHA256AuthProtocol,
+                    "SHA384": cmdgen.usmHMAC256SHA384AuthProtocol,
+                    "SHA512": cmdgen.usmHMAC384SHA512AuthProtocol,
                 }[authprotocol]
             except KeyError:
                 raise ValueError("{} is not an acceptable authentication "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/snimpy.egg-info/PKG-INFO 
new/snimpy-1.0.4/snimpy.egg-info/PKG-INFO
--- old/snimpy-1.0.3/snimpy.egg-info/PKG-INFO   2024-05-09 19:04:04.000000000 
+0200
+++ new/snimpy-1.0.4/snimpy.egg-info/PKG-INFO   2025-10-25 17:28:39.000000000 
+0200
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
 Name: snimpy
-Version: 1.0.3
+Version: 1.0.4
 Summary: interactive SNMP tool
 Home-page: https://github.com/vincentbernat/snimpy
 Author: Vincent Bernat
@@ -17,9 +17,19 @@
 Description-Content-Type: text/x-rst
 License-File: AUTHORS.rst
 Requires-Dist: cffi>=1.0.0
-Requires-Dist: pysnmp-lextudio<6,>=4
+Requires-Dist: pysnmp<6,>=4
+Requires-Dist: pyasn1<=0.6.0
 Requires-Dist: pyasyncore; python_version >= "3.12"
 Requires-Dist: setuptools
+Dynamic: author
+Dynamic: author-email
+Dynamic: classifier
+Dynamic: description
+Dynamic: description-content-type
+Dynamic: home-page
+Dynamic: license-file
+Dynamic: requires-dist
+Dynamic: summary
 
 ===============================
 snimpy
@@ -87,6 +97,12 @@
 History
 -------
 
+1.0.4 (2025-10-25)
+++++++++++++++++++
+
+* Temporarily depend on pyasn1 <= 0.6.0 to fix compatibility issues.
+* Convert build to PEP517.
+
 1.0.3 (2024-05-09)
 ++++++++++++++++++
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/snimpy.egg-info/SOURCES.txt 
new/snimpy-1.0.4/snimpy.egg-info/SOURCES.txt
--- old/snimpy-1.0.3/snimpy.egg-info/SOURCES.txt        2024-05-09 
19:04:04.000000000 +0200
+++ new/snimpy-1.0.4/snimpy.egg-info/SOURCES.txt        2025-10-25 
17:28:39.000000000 +0200
@@ -1,10 +1,21 @@
+.gitignore
+.gitmodules
 AUTHORS.rst
 CONTRIBUTING.rst
 HISTORY.rst
 MANIFEST.in
+Makefile
 README.rst
+flake.lock
+flake.nix
+pyproject.toml
 setup.py
+tox.ini
 version.txt
+.github/FUNDING.yml
+.github/dependabot.yml
+.github/workflows/tests.yml
+docs/Makefile
 docs/api.rst
 docs/conf.py
 docs/contributing.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/snimpy.egg-info/requires.txt 
new/snimpy-1.0.4/snimpy.egg-info/requires.txt
--- old/snimpy-1.0.3/snimpy.egg-info/requires.txt       2024-05-09 
19:04:04.000000000 +0200
+++ new/snimpy-1.0.4/snimpy.egg-info/requires.txt       2025-10-25 
17:28:39.000000000 +0200
@@ -1,5 +1,6 @@
 cffi>=1.0.0
-pysnmp-lextudio<6,>=4
+pysnmp<6,>=4
+pyasn1<=0.6.0
 setuptools
 
 [:python_version >= "3.12"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/tests/test_snmp.py 
new/snimpy-1.0.4/tests/test_snmp.py
--- old/snimpy-1.0.3/tests/test_snmp.py 2023-06-30 08:51:10.000000000 +0200
+++ new/snimpy-1.0.4/tests/test_snmp.py 2025-10-25 14:54:03.000000000 +0200
@@ -70,7 +70,7 @@
 
     def testSnmpV3Protocols(self):
         """Check accepted auth and privacy protocols"""
-        for auth in ["MD5", "SHA"]:
+        for auth in ["MD5", "SHA", "SHA224", "SHA256", "SHA384", "SHA512"]:
             for priv in ["AES", "AES128", "DES"]:
                 snmp.Session(host="localhost",
                              version=3,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/tox.ini new/snimpy-1.0.4/tox.ini
--- old/snimpy-1.0.3/tox.ini    1970-01-01 01:00:00.000000000 +0100
+++ new/snimpy-1.0.4/tox.ini    2025-10-25 14:54:03.000000000 +0200
@@ -0,0 +1,48 @@
+[tox]
+envlist = py{36,37,38,39,310,311,312,313}{,-ipython},lint,doc
+skip_missing_interpreters = True
+
+[gh-actions]
+python =
+  3.6: py36
+  3.7: py37
+  3.8: py38, lint, doc
+  3.9: py39
+  3.10: py310
+  3.11: py311
+  3.12: py312
+  3.13: py313
+
+[testenv]
+allowlist_externals = make
+deps =
+    coverage
+    ipython: ipython
+    pytest
+commands = coverage run --source=snimpy -m pytest {posargs}
+
+[testenv:lint]
+basepython = python3
+deps =
+    flake8
+    twine
+    interrogate
+    build
+whitelist_externals = make
+commands =
+    make lint
+    python -m build
+    twine check dist/*
+
+[testenv:doc]
+basepython = python3
+changedir = docs
+deps =
+    sphinx
+    sphinx-rtd-theme
+whitelist_externals = make
+commands =
+    make html READTHEDOCS=True
+
+[coverage:run]
+relative_files = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snimpy-1.0.3/version.txt new/snimpy-1.0.4/version.txt
--- old/snimpy-1.0.3/version.txt        2024-05-09 19:04:04.000000000 +0200
+++ new/snimpy-1.0.4/version.txt        2025-05-16 20:47:38.000000000 +0200
@@ -1 +1 @@
-1.0.3-0-gabc4c21c55e4
\ No newline at end of file
+1.0.3-7-g7e5b2c7a2b80
\ No newline at end of file

Reply via email to