Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-sniffio for openSUSE:Factory checked in at 2024-03-15 20:27:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sniffio (Old) and /work/SRC/openSUSE:Factory/.python-sniffio.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sniffio" Fri Mar 15 20:27:49 2024 rev:11 rq:1157897 version:1.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sniffio/python-sniffio.changes 2023-11-17 20:49:23.792826923 +0100 +++ /work/SRC/openSUSE:Factory/.python-sniffio.new.1905/python-sniffio.changes 2024-03-15 20:27:51.212506700 +0100 @@ -1,0 +2,11 @@ +Thu Mar 14 09:03:02 UTC 2024 - Dirk Müller <dmuel...@suse.com> + +- update to 1.3.1: + * Added missing thread_local to sniffio.__all__ + * Add support for Python 3.9 and 3.10. + * Provide sniffio.thread_local.name for coroutine libraries to + set + * Drop support for Python 3.5 and 3.6. + * Include type hints + +------------------------------------------------------------------- Old: ---- sniffio-1.3.0.tar.gz New: ---- sniffio-1.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sniffio.spec ++++++ --- /var/tmp/diff_new_pack.a28dvv/_old 2024-03-15 20:27:52.096539261 +0100 +++ /var/tmp/diff_new_pack.a28dvv/_new 2024-03-15 20:27:52.096539261 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-sniffio # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} %define skip_python2 1 Name: python-sniffio -Version: 1.3.0 +Version: 1.3.1 Release: 0 Summary: Module to sniff which async library code runs under License: Apache-2.0 OR MIT ++++++ sniffio-1.3.0.tar.gz -> sniffio-1.3.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sniffio-1.3.0/.github/workflows/ci.yml new/sniffio-1.3.1/.github/workflows/ci.yml --- old/sniffio-1.3.0/.github/workflows/ci.yml 2022-09-01 12:54:31.000000000 +0200 +++ new/sniffio-1.3.1/.github/workflows/ci.yml 2024-02-26 00:15:12.000000000 +0100 @@ -9,15 +9,16 @@ strategy: fail-fast: false matrix: - python: ['3.7', '3.8', '3.9', '3.10'] + python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} + allow-prereleases: true cache: pip cache-dependency-path: test-requirements.txt - name: Run tests @@ -34,7 +35,7 @@ strategy: fail-fast: false matrix: - python: ['3.7', '3.8', '3.9', '3.10', '3.11-dev'] + python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12-dev'] check_formatting: ['0'] extra_name: [''] include: @@ -43,16 +44,16 @@ extra_name: ', check formatting' steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: "!endsWith(matrix.python, '-dev')" with: python-version: ${{ matrix.python }} cache: pip cache-dependency-path: test-requirements.txt - name: Setup python (dev) - uses: deadsnakes/action@v2.0.2 + uses: deadsnakes/action@v3.0.1 if: endsWith(matrix.python, '-dev') with: python-version: '${{ matrix.python }}' @@ -70,14 +71,15 @@ strategy: fail-fast: false matrix: - python: ['3.7', '3.8', '3.9', '3.10'] + python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} + allow-prereleases: true cache: pip cache-dependency-path: test-requirements.txt - name: Run tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sniffio-1.3.0/.readthedocs.yml new/sniffio-1.3.1/.readthedocs.yml --- old/sniffio-1.3.0/.readthedocs.yml 2022-09-01 12:54:31.000000000 +0200 +++ new/sniffio-1.3.1/.readthedocs.yml 2024-02-26 00:15:12.000000000 +0100 @@ -1,10 +1,15 @@ # https://docs.readthedocs.io/en/latest/yaml-config.html +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3.8" + formats: - htmlzip - epub -requirements_file: ci/rtd-requirements.txt - python: - version: 3 - pip_install: True + install: + - requirements: ci/rtd-requirements.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sniffio-1.3.0/ci.sh new/sniffio-1.3.1/ci.sh --- old/sniffio-1.3.0/ci.sh 2022-09-01 12:54:31.000000000 +0200 +++ new/sniffio-1.3.1/ci.sh 2024-02-26 00:15:12.000000000 +0100 @@ -10,7 +10,7 @@ if [ "$CHECK_FORMATTING" = "1" ]; then pip install yapf==${YAPF_VERSION} - if ! yapf -rpd setup.py sniffio; then + if ! yapf -rpd sniffio; then cat <<EOF !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! @@ -43,8 +43,7 @@ exit 0 fi -python setup.py sdist --formats=zip -pip install dist/*.zip +pip install . # Actual tests pip install -Ur test-requirements.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sniffio-1.3.0/docs/source/history.rst new/sniffio-1.3.1/docs/source/history.rst --- old/sniffio-1.3.0/docs/source/history.rst 2022-09-01 12:54:31.000000000 +0200 +++ new/sniffio-1.3.1/docs/source/history.rst 2024-02-26 00:15:12.000000000 +0100 @@ -5,20 +5,29 @@ .. towncrier release notes start +Sniffio 1.3.1 (2024-02-26) +-------------------------- + +Bugfixes +~~~~~~~~ + +- Added missing ``thread_local`` to ``sniffio.__all__`` (`#44 <https://github.com/python-trio/sniffio/issues/44>`__) + + sniffio 1.3.0 (2022-09-01) -------------------------- Features ~~~~~~~~ -- Add support for Python 3.9 and 3.10. (`#29 <https://github.com/python-trio/outcome/pull/29>`__) -- Provide ``sniffio.thread_local.name`` for coroutine libraries to set (`#23 <https://github.com/python-trio/outcome/pull/23>`__) +- Add support for Python 3.9 and 3.10. (`#29 <https://github.com/python-trio/sniffio/pull/29>`__) +- Provide ``sniffio.thread_local.name`` for coroutine libraries to set (`#23 <https://github.com/python-trio/sniffio/pull/23>`__) Deprecations and Removals ~~~~~~~~~~~~~~~~~~~~~~~~~ -- Drop support for Python 3.5 and 3.6. (`#29 <https://github.com/python-trio/outcome/pull/29>`__) +- Drop support for Python 3.5 and 3.6. (`#29 <https://github.com/python-trio/sniffio/pull/29>`__) sniffio 1.2.0 (2020-10-11) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sniffio-1.3.0/pyproject.toml new/sniffio-1.3.1/pyproject.toml --- old/sniffio-1.3.0/pyproject.toml 2022-09-01 12:54:31.000000000 +0200 +++ new/sniffio-1.3.1/pyproject.toml 2024-02-26 00:15:12.000000000 +0100 @@ -1,3 +1,46 @@ +[build-system] +requires = [ + "setuptools >= 64", + "setuptools_scm >= 6.4" +] +build-backend = "setuptools.build_meta" + +[project] +name = "sniffio" +description = "Sniff out which async library your code is running under" +readme = "README.rst" +authors = [{name = "Nathaniel J. Smith", email = "n...@pobox.com"}] +license = {text = "MIT OR Apache-2.0"} +keywords = ["async", "trio", "asyncio"] +classifiers = [ + "License :: OSI Approved :: MIT License", + "License :: OSI Approved :: Apache Software License", + "Framework :: Trio", + "Framework :: AsyncIO", + "Operating System :: POSIX :: Linux", + "Operating System :: MacOS :: MacOS X", + "Operating System :: Microsoft :: Windows", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", + "Intended Audience :: Developers", + "Development Status :: 5 - Production/Stable", +] +requires-python = ">= 3.7" +dynamic = ["version"] + +[project.urls] +Homepage = "https://github.com/python-trio/sniffio" +Documentation = "https://sniffio.readthedocs.io/" +Changelog = "https://sniffio.readthedocs.io/en/latest/history.html" + +[tool.setuptools.dynamic] +version = {attr = "sniffio._version.__version__"} + +[tool.setuptools.packages.find] +include = ["sniffio*"] +namespaces = false + [tool.towncrier] package = "sniffio" filename = "docs/source/history.rst" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sniffio-1.3.0/setup.py new/sniffio-1.3.1/setup.py --- old/sniffio-1.3.0/setup.py 2022-09-01 12:54:31.000000000 +0200 +++ new/sniffio-1.3.1/setup.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,39 +0,0 @@ -from setuptools import setup, find_packages - -exec(open("sniffio/_version.py", encoding="utf-8").read()) - -LONG_DESC = open("README.rst", encoding="utf-8").read() - -setup( - name="sniffio", - version=__version__, - description="Sniff out which async library your code is running under", - url="https://github.com/python-trio/sniffio", - long_description=LONG_DESC, - author="Nathaniel J. Smith", - author_email="n...@pobox.com", - license="MIT OR Apache-2.0", - packages=find_packages(), - package_data={"sniffio": ["py.typed"]}, - keywords=[ - "async", - "trio", - "asyncio", - ], - python_requires=">=3.7", - tests_require=['curio'], - classifiers=[ - "License :: OSI Approved :: MIT License", - "License :: OSI Approved :: Apache Software License", - "Framework :: Trio", - "Framework :: AsyncIO", - "Operating System :: POSIX :: Linux", - "Operating System :: MacOS :: MacOS X", - "Operating System :: Microsoft :: Windows", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: Implementation :: CPython", - "Programming Language :: Python :: Implementation :: PyPy", - "Intended Audience :: Developers", - "Development Status :: 5 - Production/Stable", - ], -) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sniffio-1.3.0/sniffio/__init__.py new/sniffio-1.3.1/sniffio/__init__.py --- old/sniffio-1.3.0/sniffio/__init__.py 2022-09-01 12:54:31.000000000 +0200 +++ new/sniffio-1.3.1/sniffio/__init__.py 2024-02-26 00:15:12.000000000 +0100 @@ -1,8 +1,10 @@ """Top-level package for sniffio.""" __all__ = [ - "current_async_library", "AsyncLibraryNotFoundError", - "current_async_library_cvar" + "current_async_library", + "AsyncLibraryNotFoundError", + "current_async_library_cvar", + "thread_local", ] from ._version import __version__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sniffio-1.3.0/sniffio/_tests/test_sniffio.py new/sniffio-1.3.1/sniffio/_tests/test_sniffio.py --- old/sniffio-1.3.0/sniffio/_tests/test_sniffio.py 2022-09-01 12:54:31.000000000 +0200 +++ new/sniffio-1.3.1/sniffio/_tests/test_sniffio.py 2024-02-26 00:15:12.000000000 +0100 @@ -58,10 +58,10 @@ current_async_library() -# https://github.com/dabeaz/curio/pull/354 @pytest.mark.skipif( - os.name == "nt" and sys.version_info >= (3, 9), - reason="Curio breaks on Python 3.9+ on Windows. Fix was not released yet", + sys.version_info >= (3, 12), + reason= + "curio broken on 3.12 (https://github.com/python-trio/sniffio/pull/42)", ) def test_curio(): import curio diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sniffio-1.3.0/sniffio/_version.py new/sniffio-1.3.1/sniffio/_version.py --- old/sniffio-1.3.0/sniffio/_version.py 2022-09-01 12:54:31.000000000 +0200 +++ new/sniffio-1.3.1/sniffio/_version.py 2024-02-26 00:15:12.000000000 +0100 @@ -1,3 +1,3 @@ # This file is imported from __init__.py and exec'd from setup.py -__version__ = "1.3.0" +__version__ = "1.3.1"