Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-outcome for openSUSE:Factory checked in at 2022-10-10 18:44:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-outcome (Old) and /work/SRC/openSUSE:Factory/.python-outcome.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-outcome" Mon Oct 10 18:44:05 2022 rev:6 rq:1008150 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-outcome/python-outcome.changes 2021-10-20 20:24:04.057370050 +0200 +++ /work/SRC/openSUSE:Factory/.python-outcome.new.2275/python-outcome.changes 2022-10-10 18:44:26.810853712 +0200 @@ -1,0 +2,10 @@ +Tue Oct 4 22:25:31 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com> + +- Update to version 1.2.0 + * Merge pull request #33 from pquentin/spdx-compliant-license + * Make setuptools license field SPDX-compliant + * Merge pull request #32 from pquentin/modernize-ci + * Use GitHub Actions and RTD CI + * Merge pull request #30 from njsmith/release-1.1.0 + +------------------------------------------------------------------- Old: ---- outcome-1.1.0.tar.gz New: ---- outcome-1.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-outcome.spec ++++++ --- /var/tmp/diff_new_pack.RYVkxU/_old 2022-10-10 18:44:27.318854807 +0200 +++ /var/tmp/diff_new_pack.RYVkxU/_new 2022-10-10 18:44:27.326854824 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-outcome # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,10 +19,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-outcome -Version: 1.1.0 +Version: 1.2.0 Release: 0 Summary: Function for capturing the outcome of Python function calls -License: MIT OR Apache-2.0 +License: Apache-2.0 OR MIT Group: Development/Languages/Python URL: https://github.com/python-trio/outcome Source: https://github.com/python-trio/outcome/archive/v%{version}.tar.gz#/outcome-%{version}.tar.gz ++++++ outcome-1.1.0.tar.gz -> outcome-1.2.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/outcome-1.1.0/.appveyor.yml new/outcome-1.2.0/.appveyor.yml --- old/outcome-1.1.0/.appveyor.yml 2020-11-17 04:06:26.000000000 +0100 +++ new/outcome-1.2.0/.appveyor.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,28 +0,0 @@ -skip_tags: true - -os: Visual Studio 2015 - -environment: - matrix: - - PYTHON: "C:\\Python36" - - PYTHON: "C:\\Python36-x64" - - PYTHON: "C:\\Python37" - - PYTHON: "C:\\Python37-x64" - - PYTHON: "C:\\Python38" - - PYTHON: "C:\\Python38-x64" - -build_script: - - "git --no-pager log -n2" - - "echo %APPVEYOR_REPO_COMMIT%" - - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;;%PATH%" - - "python --version" - - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" - - "pip install ." - - "pip install -Ur test-requirements.txt" - - "pip install codecov" - -test_script: - # Make sure it's being imported from where we expect - - "python -c \"import os, outcome; print(os.path.dirname(outcome.__file__))\"" - - "python -u -m pytest -W error -ra -v -s --cov --cov-config=.coveragerc" - - "codecov" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/outcome-1.1.0/.github/workflows/ci.yml new/outcome-1.2.0/.github/workflows/ci.yml --- old/outcome-1.1.0/.github/workflows/ci.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/outcome-1.2.0/.github/workflows/ci.yml 2022-06-14 12:29:21.000000000 +0200 @@ -0,0 +1,87 @@ +name: CI + +on: [push, pull_request] + +jobs: + Windows: + name: 'Windows (${{ matrix.python }})' + runs-on: 'windows-latest' + strategy: + fail-fast: false + matrix: + python: ['3.7', '3.8', '3.9', '3.10'] + + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup python + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + cache: pip + cache-dependency-path: test-requirements.txt + - name: Run tests + run: ./ci.sh + shell: bash + env: + # Should match 'name:' up above + JOB_NAME: 'Windows (${{ matrix.python }})' + + Ubuntu: + name: 'Ubuntu (${{ matrix.python }}${{ matrix.extra_name }})' + timeout-minutes: 10 + runs-on: 'ubuntu-latest' + strategy: + fail-fast: false + matrix: + python: ['3.7', '3.8', '3.9', '3.10', '3.11-dev'] + check_formatting: ['0'] + extra_name: [''] + include: + - python: '3.10' + check_formatting: '1' + extra_name: ', check formatting' + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup python + uses: actions/setup-python@v2 + 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 + if: endsWith(matrix.python, '-dev') + with: + python-version: '${{ matrix.python }}' + - name: Run tests + run: ./ci.sh + env: + CHECK_FORMATTING: '${{ matrix.check_formatting }}' + # Should match 'name:' up above + JOB_NAME: 'Ubuntu (${{ matrix.python }}${{ matrix.extra_name }})' + + macOS: + name: 'macOS (${{ matrix.python }})' + timeout-minutes: 10 + runs-on: 'macos-latest' + strategy: + fail-fast: false + matrix: + python: ['3.7', '3.8', '3.9', '3.10'] + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup python + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + cache: pip + cache-dependency-path: test-requirements.txt + - name: Run tests + run: ./ci.sh + env: + # Should match 'name:' up above + JOB_NAME: 'macOS (${{ matrix.python }})' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/outcome-1.1.0/.travis.yml new/outcome-1.2.0/.travis.yml --- old/outcome-1.1.0/.travis.yml 2020-11-17 04:06:26.000000000 +0100 +++ new/outcome-1.2.0/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -language: python -dist: bionic - -matrix: - include: - - python: 3.8 - env: CHECK_DOCS=1 - - python: 3.8 - env: CHECK_FORMATTING=1 - - python: pypy3.6-7.2.0 - - python: 3.6 - - python: 3.7 - - python: 3.8 - - -script: - - ci/travis.sh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/outcome-1.1.0/ci/travis.sh new/outcome-1.2.0/ci/travis.sh --- old/outcome-1.1.0/ci/travis.sh 2020-11-17 04:06:26.000000000 +0100 +++ new/outcome-1.2.0/ci/travis.sh 1970-01-01 01:00:00.000000000 +0100 @@ -1,103 +0,0 @@ -#!/bin/bash - -set -ex - -YAPF_VERSION=0.20.1 - -if [ "$TRAVIS_OS_NAME" = "osx" ]; then - curl -Lo macpython.pkg https://www.python.org/ftp/python/${MACPYTHON}/python-${MACPYTHON}-macosx10.6.pkg - sudo installer -pkg macpython.pkg -target / - ls /Library/Frameworks/Python.framework/Versions/*/bin/ - PYTHON_EXE=/Library/Frameworks/Python.framework/Versions/*/bin/python3 - sudo $PYTHON_EXE -m pip install virtualenv - $PYTHON_EXE -m virtualenv testenv - source testenv/bin/activate -fi - -if [ "$USE_PYPY_NIGHTLY" = "1" ]; then - curl -fLo pypy.tar.bz2 http://buildbot.pypy.org/nightly/py3.5/pypy-c-jit-latest-linux64.tar.bz2 - if [ ! -s pypy.tar.bz2 ]; then - # We know: - # - curl succeeded (200 response code; -f means "exit with error if - # server returns 4xx or 5xx") - # - nonetheless, pypy.tar.bz2 does not exist, or contains no data - # This isn't going to work, and the failure is not informative of - # anything involving this package. - ls -l - echo "PyPy3 nightly build failed to download ??? something is wrong on their end." - echo "Skipping testing against the nightly build for right now." - exit 0 - fi - tar xaf pypy.tar.bz2 - # something like "pypy-c-jit-89963-748aa3022295-linux64" - PYPY_DIR=$(echo pypy-c-jit-*) - PYTHON_EXE=$PYPY_DIR/bin/pypy3 - ($PYTHON_EXE -m ensurepip \ - && $PYTHON_EXE -m pip install virtualenv \ - && $PYTHON_EXE -m virtualenv testenv) \ - || (echo "pypy nightly is broken; skipping tests"; exit 0) - source testenv/bin/activate -fi - -pip install -U pip setuptools wheel - -python setup.py sdist --formats=zip -pip install dist/*.zip - -if [ "$CHECK_FORMATTING" = "1" ]; then - pip install yapf==${YAPF_VERSION} isort>=5 - if ! yapf -rpd setup.py src tests; then - cat <<EOF -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -Formatting problems were found (listed above). To fix them, run - - pip install yapf==${YAPF_VERSION} - yapf -rpi setup.py src tests - -in your local checkout. - -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -EOF - exit 1 - fi - - # required for isort to order test imports correctly - pip install -Ur test-requirements.txt - - if ! isort --check-only --diff . ; then - cat <<EOF -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -Formatting problems were found (listed above). To fix them, run - - pip install isort - isort . - -in your local checkout. - -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -EOF - exit 1 - fi - exit 0 -fi - -if [ "$CHECK_DOCS" = "1" ]; then - pip install -Ur ci/rtd-requirements.txt - cd docs - # -n (nit-picky): warn on missing references - # -W: turn warnings into errors - sphinx-build -nW -b html source build -else - # Actual tests - pip install -Ur test-requirements.txt - - pytest -W error -ra -v tests --cov --cov-config=.coveragerc - - bash <(curl -s https://codecov.io/bash) -fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/outcome-1.1.0/ci.sh new/outcome-1.2.0/ci.sh --- old/outcome-1.1.0/ci.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/outcome-1.2.0/ci.sh 2022-06-14 12:29:21.000000000 +0200 @@ -0,0 +1,60 @@ +#!/bin/bash + +set -ex + +YAPF_VERSION=0.20.1 + +pip install -U pip setuptools wheel + +python setup.py sdist --formats=zip +pip install dist/*.zip + +if [ "$CHECK_FORMATTING" = "1" ]; then + pip install yapf==${YAPF_VERSION} isort>=5 + if ! yapf -rpd setup.py src tests; then + cat <<EOF +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +Formatting problems were found (listed above). To fix them, run + + pip install yapf==${YAPF_VERSION} + yapf -rpi setup.py src tests + +in your local checkout. + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +EOF + exit 1 + fi + + # required for isort to order test imports correctly + pip install -Ur test-requirements.txt + + if ! isort --check-only --diff . ; then + cat <<EOF +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +Formatting problems were found (listed above). To fix them, run + + pip install isort + isort . + +in your local checkout. + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +EOF + exit 1 + fi + exit 0 +fi + +# Actual tests +pip install -Ur test-requirements.txt + +pytest -W error -ra -v tests --cov --cov-config=.coveragerc + +bash <(curl -s https://codecov.io/bash) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/outcome-1.1.0/docs/source/history.rst new/outcome-1.2.0/docs/source/history.rst --- old/outcome-1.1.0/docs/source/history.rst 2020-11-17 04:06:26.000000000 +0100 +++ new/outcome-1.2.0/docs/source/history.rst 2022-06-14 12:29:21.000000000 +0200 @@ -5,6 +5,21 @@ .. towncrier release notes start +Outcome 1.2.0 (2022-06-14) +-------------------------- + +Features +~~~~~~~~ + +- Add support for Python 3.9 and 3.10. (`#32 <https://github.com/python-trio/outcome/pull/32>`__) + + +Deprecations and Removals +~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Drop support for Python 3.6. (`#32 <https://github.com/python-trio/outcome/pull/32>`__) + + Outcome 1.1.0 (2020-11-16) -------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/outcome-1.1.0/setup.cfg new/outcome-1.2.0/setup.cfg --- old/outcome-1.1.0/setup.cfg 2020-11-17 04:06:26.000000000 +0100 +++ new/outcome-1.2.0/setup.cfg 2022-06-14 12:29:21.000000000 +0200 @@ -18,3 +18,6 @@ exclude_lines = pragma: no cover abc.abstractmethod + +[tool:pytest] +asyncio_mode = strict diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/outcome-1.1.0/setup.py new/outcome-1.2.0/setup.py --- old/outcome-1.1.0/setup.py 2020-11-17 04:06:26.000000000 +0100 +++ new/outcome-1.2.0/setup.py 2022-06-14 12:29:21.000000000 +0200 @@ -22,11 +22,11 @@ long_description_content_type='text/x-rst', author='Frazer McLean', author_email='fra...@frazermclean.co.uk', - license='MIT -or- Apache License 2.0', + license='MIT OR Apache-2.0', packages=find_packages('src'), package_dir={'': 'src'}, install_requires=['attrs>=19.2.0'], - python_requires='>=3.6', + python_requires='>=3.7', keywords='result', classifiers=[ 'Development Status :: 5 - Production/Stable', @@ -37,9 +37,10 @@ 'Operating System :: POSIX :: Linux', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', - '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', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/outcome-1.1.0/src/outcome/_version.py new/outcome-1.2.0/src/outcome/_version.py --- old/outcome-1.1.0/src/outcome/_version.py 2020-11-17 04:06:26.000000000 +0100 +++ new/outcome-1.2.0/src/outcome/_version.py 2022-06-14 12:29:21.000000000 +0200 @@ -1,3 +1,3 @@ # This file is imported from __init__.py and exec'd from setup.py -__version__ = "1.1.0" +__version__ = "1.2.0"