Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-scitokens for 
openSUSE:Factory checked in at 2022-10-31 13:04:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scitokens (Old)
 and      /work/SRC/openSUSE:Factory/.python-scitokens.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-scitokens"

Mon Oct 31 13:04:27 2022 rev:4 rq:1032432 version:1.7.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-scitokens/python-scitokens.changes        
2022-09-01 22:12:11.908412730 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scitokens.new.2275/python-scitokens.changes  
    2022-10-31 13:04:29.885744732 +0100
@@ -1,0 +2,19 @@
+Sat Oct 29 00:55:58 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to version 1.7.2 
+  * Documentation changes release.
+
+-------------------------------------------------------------------
+Sat Oct 29 00:53:02 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to version 1.7.1 
+  * Add license to metadata by @duncanmmacleod in #150
+  * Update badges in README by @duncanmmacleod in #152
+  * Miscellaneous documentation fixes by @duncanmmacleod in #155
+  * Update setup.py by @duncanmmacleod in #156
+  * Adding codacy github action by @djw8605 in #158
+  * Attempt to fix codacy in github actions by @djw8605 in #159
+  * Add pyproject.toml file for PEP 517 builds by @lpsinger in #162
+  * Install requires setuptools by @lpsinger in #163
+
+-------------------------------------------------------------------

Old:
----
  scitokens-1.7.0.tar.gz

New:
----
  scitokens-1.7.2.tar.gz

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

Other differences:
------------------
++++++ python-scitokens.spec ++++++
--- /var/tmp/diff_new_pack.nfl7KX/_old  2022-10-31 13:04:30.381747260 +0100
+++ /var/tmp/diff_new_pack.nfl7KX/_new  2022-10-31 13:04:30.389747301 +0100
@@ -21,7 +21,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 
 Name:           python-scitokens
-Version:        1.7.0
+Version:        1.7.2
 Release:        0
 Summary:        SciToken reference implementation library
 License:        Apache-2.0

++++++ scitokens-1.7.0.tar.gz -> scitokens-1.7.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/scitokens-1.7.0/.github/workflows/python-coverage.yml 
new/scitokens-1.7.2/.github/workflows/python-coverage.yml
--- old/scitokens-1.7.0/.github/workflows/python-coverage.yml   1970-01-01 
01:00:00.000000000 +0100
+++ new/scitokens-1.7.2/.github/workflows/python-coverage.yml   2022-10-04 
16:22:40.000000000 +0200
@@ -0,0 +1,33 @@
+name: codacy-coverage-reporter
+
+on: ["push"]
+
+jobs:
+  codacy-coverage-reporter:
+    runs-on: ubuntu-latest
+    name: codacy-coverage-reporter
+    steps:
+      - uses: actions/checkout@v2
+      - name: Set up Python 3.9
+        uses: actions/setup-python@v2
+        with:
+          python-version: 3.9
+      - name: Install dependencies
+        run: |
+          python -m pip install --upgrade pip
+          python -m pip install pytest coverage
+          if [ -f requirements.txt ]; then
+              sed -i 's/>=/==/g' requirements.txt
+              pip install -r requirements.txt
+          fi
+      - name: Test with pytest
+        run: |
+          coverage run -m pytest
+          coverage xml
+      - name: Run codacy-coverage-reporter
+        uses: codacy/codacy-coverage-reporter-action@v1
+        with:
+          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
+          # or
+          # api-token: ${{ secrets.CODACY_API_TOKEN }}
+          coverage-reports: coverage.xml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scitokens-1.7.0/.github/workflows/python-package.yml 
new/scitokens-1.7.2/.github/workflows/python-package.yml
--- old/scitokens-1.7.0/.github/workflows/python-package.yml    2022-02-18 
19:56:16.000000000 +0100
+++ new/scitokens-1.7.2/.github/workflows/python-package.yml    2022-10-04 
16:22:40.000000000 +0200
@@ -40,6 +40,7 @@
       run: |
         pytest
 
+
   minimum-build:
 
     runs-on: ubuntu-latest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scitokens-1.7.0/README.rst 
new/scitokens-1.7.2/README.rst
--- old/scitokens-1.7.0/README.rst      2022-02-18 19:56:16.000000000 +0100
+++ new/scitokens-1.7.2/README.rst      2022-10-04 16:22:40.000000000 +0200
@@ -1,6 +1,8 @@
 SciTokens Library
 =================
 
+|pypi| |downloads| |license|
+
 This library aims to be a reference implementation of the SciTokens'
 JSON Web Token (JWT) token format.
 
@@ -227,21 +229,33 @@
     >> import scitokens
     >> scitokens.set_config("/etc/scitokens/scitokens.ini")
     
-See :py:func:`~scitokens.utils.config.set_config`
 
 
 Project Status
 ==============
 
-.. image:: https://travis-ci.org/scitokens/scitokens.svg?branch=master
-   :target: https://travis-ci.org/scitokens/scitokens
-   :alt: Travis-CI Build Status
-
-.. image:: 
https://api.codacy.com/project/badge/Coverage/ad1f7b31145f4b9a96d58ec736d6f00c
-   :target: 
https://www.codacy.com/app/scitokens/scitokens?utm_source=github.com&utm_medium=referral&utm_content=scitokens/scitokens&utm_campaign=Badge_Coverage
-   :alt: Code Test Coverage
-
-.. image:: 
https://api.codacy.com/project/badge/Grade/ad1f7b31145f4b9a96d58ec736d6f00c
-   :target: 
https://www.codacy.com/app/scitokens/scitokens?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=scitokens/scitokens&amp;utm_campaign=Badge_Grade
-   :alt: Codacy Grade
+|pypi| |build| |coverage| |quality|
+
+.. |pypi| image:: https://badge.fury.io/py/scitokens.svg
+   :target: https://pypi.org/project/scitokens/
+
+.. |downloads| image:: https://img.shields.io/pypi/dd/scitokens
+   :target: https://pypi.org/project/scitokens
+   :alt: Downloads per month
+
+.. |license| image:: https://img.shields.io/github/license/scitokens/scitokens
+   :target: https://choosealicense.com/licenses/apache-2.0/
+   :alt: License information
+
+.. |build| image:: 
https://img.shields.io/github/workflow/status/scitokens/scitokens/Python%20package
+   :target: 
https://github.com/scitokens/scitokens/actions/workflows/python-package.yml
+   :alt: Build pipeline status
+
+.. |coverage| image:: 
https://app.codacy.com/project/badge/Coverage/753108a9f8ab450d8f5598e1b639ecfd  
  
+    :target: 
https://www.codacy.com/gh/scitokens/scitokens/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=scitokens/scitokens&amp;utm_campaign=Badge_Coverage
+    :alt: Code coverage
+
+.. |quality| image:: 
https://app.codacy.com/project/badge/Grade/753108a9f8ab450d8f5598e1b639ecfd    
+    :target: 
https://www.codacy.com/gh/scitokens/scitokens/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=scitokens/scitokens&amp;utm_campaign=Badge_Grade
+    :alt: Code Quality
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scitokens-1.7.0/configs/python-scitokens.spec 
new/scitokens-1.7.2/configs/python-scitokens.spec
--- old/scitokens-1.7.0/configs/python-scitokens.spec   2022-02-18 
19:56:16.000000000 +0100
+++ new/scitokens-1.7.2/configs/python-scitokens.spec   2022-10-04 
16:22:40.000000000 +0200
@@ -2,7 +2,7 @@
 %global pypi_name scitokens
 
 Name:           python-%{pypi_name}
-Version:        1.6.2
+Version:        1.7.2
 Release:        1%{?dist}
 Summary:        SciToken reference implementation library
 
@@ -60,6 +60,20 @@
 
 
 %changelog
+* Tue Oct 04 2022 Derek Weitzel <[email protected]> - 1.7.2-1
+- Documentation updates
+
+* Wed Sep 28 2022 Derek Weitzel <[email protected]> - 1.7.1-1
+- Documentation updates
+- Fix setup tools and add pyproject.toml
+
+* Fri Feb 18 2022 Derek Weitzel <[email protected]> - 1.7.0-1
+- Fix serialize mismatch between Python 3 and Python 2
+- Fix bug decoding a token with no audience
+- Update algorithm used to test UnsupportedKeyException
+- Update pyjwt version in requirements.txt
+- Default cached public keys set to 4 days
+
 * Wed Nov 3 2021 Brian Lin <[email protected]> - 1.6.2-1
 - Fix Python library version (SOFTWARE-4879)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scitokens-1.7.0/docs/source/conf.py 
new/scitokens-1.7.2/docs/source/conf.py
--- old/scitokens-1.7.0/docs/source/conf.py     2022-02-18 19:56:16.000000000 
+0100
+++ new/scitokens-1.7.2/docs/source/conf.py     2022-10-04 16:22:40.000000000 
+0200
@@ -18,6 +18,8 @@
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 sys.path.insert(0, os.path.abspath('../../src'))
 
+import scitokens
+
 # -- General configuration 
-----------------------------------------------------
 
 # If your documentation needs a minimal Sphinx version, state it here.
@@ -48,9 +50,9 @@
 # built documents.
 #
 # The short X.Y version.
-version = '0.1'
+version = scitokens.__version__
 # The full version, including alpha/beta/rc tags.
-release = '0.1'
+release = version
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -120,7 +122,7 @@
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
+#html_static_path = ['_static']
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scitokens-1.7.0/pyproject.toml 
new/scitokens-1.7.2/pyproject.toml
--- old/scitokens-1.7.0/pyproject.toml  1970-01-01 01:00:00.000000000 +0100
+++ new/scitokens-1.7.2/pyproject.toml  2022-10-04 16:22:40.000000000 +0200
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["setuptools"]
+build-backend = "setuptools.build_meta"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scitokens-1.7.0/setup.py new/scitokens-1.7.2/setup.py
--- old/scitokens-1.7.0/setup.py        2022-02-18 19:56:16.000000000 +0100
+++ new/scitokens-1.7.2/setup.py        2022-10-04 16:22:40.000000000 +0200
@@ -8,6 +8,11 @@
 
 import setuptools
 
+# read the contents of your README file
+from pathlib import Path
+this_directory = Path(__file__).parent
+long_description = (this_directory / "README.rst").read_text()
+
 
 def find_version(path, varname="__version__"):
     """Parse the version metadata variable in the given file.
@@ -24,19 +29,57 @@
     raise RuntimeError("Unable to find version string.")
 
 
-setuptools.setup(name="scitokens",
-                 version=find_version(os.path.join("src", "scitokens", 
"__init__.py")),
-                 description="SciToken reference implementation library",
-                 author_email="[email protected]",
-                 author="Brian Bockelman",
-                 url="https://scitokens.org";,
-                 package_dir={"": "src"},
-                 packages=["scitokens", "scitokens.tools", "scitokens.utils"],
-                 entry_points={"console_scripts": [
-                     
"scitokens-admin-create-key=scitokens.tools.admin_create_key:main",
-                     
"scitokens-admin-create-token=scitokens.tools.admin_create_token:main",
-                 ]},
-                 install_requires=['cryptography',
-                                   'PyJWT>=1.6.1',
-                                   'six'],
-                )
+setuptools.setup(
+    # metadata
+    name="scitokens",
+    version=find_version(os.path.join("src", "scitokens", "__init__.py")),
+    description="SciToken reference implementation library",
+    long_description=long_description,
+    long_description_content_type="text/x-rst",
+    author_email="[email protected]",
+    author="Brian Bockelman",
+    license="Apache-2.0",
+    url="https://scitokens.org";,
+    project_urls={
+        "Issue Tracker": "https://github.com/scitokens/scitokens/issues";,
+        "Source Code": "https://github.com/scitokens/scitokens";,
+    },
+    # contents
+    package_dir={
+        "": "src",
+    },
+    packages=[
+        "scitokens",
+        "scitokens.tools",
+        "scitokens.utils",
+    ],
+    entry_points={
+        "console_scripts": [
+            "scitokens-admin-create-key=scitokens.tools.admin_create_key:main",
+            
"scitokens-admin-create-token=scitokens.tools.admin_create_token:main",
+        ],
+    },
+    # requirements
+    python_requires=">=3.5",
+    install_requires=[
+        'cryptography',
+        'PyJWT>=1.6.1',
+        'six',
+        'setuptools'
+    ],
+    # classifiers
+    classifiers=[
+        "Development Status :: 5 - Production/Stable",
+        "License :: OSI Approved :: Apache Software License",
+        "Natural Language :: English",
+        "Operating System :: OS Independent",
+        "Programming Language :: Python",
+        "Programming Language :: Python :: 3.5",
+        "Programming Language :: Python :: 3.6",
+        "Programming Language :: Python :: 3.7",
+        "Programming Language :: Python :: 3.8",
+        "Programming Language :: Python :: 3.9",
+        "Programming Language :: Python :: 3.10",
+        "Topic :: Scientific/Engineering",
+    ],
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scitokens-1.7.0/src/scitokens/__init__.py 
new/scitokens-1.7.2/src/scitokens/__init__.py
--- old/scitokens-1.7.0/src/scitokens/__init__.py       2022-02-18 
19:56:16.000000000 +0100
+++ new/scitokens-1.7.2/src/scitokens/__init__.py       2022-10-04 
16:22:40.000000000 +0200
@@ -6,4 +6,4 @@
 from .scitokens import SciToken, Validator, Enforcer, MissingClaims
 from .utils.config import set_config
 
-__version__ = "1.7.0"
+__version__ = "1.7.2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scitokens-1.7.0/src/scitokens/utils/config.py 
new/scitokens-1.7.2/src/scitokens/utils/config.py
--- old/scitokens-1.7.0/src/scitokens/utils/config.py   2022-02-18 
19:56:16.000000000 +0100
+++ new/scitokens-1.7.2/src/scitokens/utils/config.py   2022-10-04 
16:22:40.000000000 +0200
@@ -24,8 +24,9 @@
 def set_config(config = None):
     """
     Set the configuration of SciTokens library
+
     :param config: config may be: A full path to a ini configuration file,
-        A ConfigParser instance, or None, which will use all defaults.
+        a ConfigParser instance, or None, which will use all defaults.
     """
     global configuration # pylint: disable=C0103
 

Reply via email to