Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-aspectlib for
openSUSE:Factory checked in at 2021-02-16 22:34:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aspectlib (Old)
and /work/SRC/openSUSE:Factory/.python-aspectlib.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aspectlib"
Tue Feb 16 22:34:59 2021 rev:4 rq:870729 version:1.5.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aspectlib/python-aspectlib.changes
2020-04-27 23:28:31.030368350 +0200
+++
/work/SRC/openSUSE:Factory/.python-aspectlib.new.28504/python-aspectlib.changes
2021-02-16 22:35:20.401565936 +0100
@@ -1,0 +2,7 @@
+Wed Feb 10 03:32:06 UTC 2021 - Steve Kowalik <[email protected]>
+
+- Update to 1.5.2:
+ * Fixed broken import on Python 3.9.
+ * Remove some debug leftover prints from `v1.5.0`.
+
+-------------------------------------------------------------------
Old:
----
aspectlib-1.5.0.tar.gz
New:
----
aspectlib-1.5.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-aspectlib.spec ++++++
--- /var/tmp/diff_new_pack.sBGZ1u/_old 2021-02-16 22:35:21.145566927 +0100
+++ /var/tmp/diff_new_pack.sBGZ1u/_new 2021-02-16 22:35:21.149566932 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-aspectlib
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 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 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-aspectlib
-Version: 1.5.0
+Version: 1.5.2
Release: 0
Summary: Aspect-oriented programming
License: BSD-2-Clause
++++++ aspectlib-1.5.0.tar.gz -> aspectlib-1.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/.appveyor.yml
new/aspectlib-1.5.2/.appveyor.yml
--- old/aspectlib-1.5.0/.appveyor.yml 2020-04-05 10:47:41.000000000 +0200
+++ new/aspectlib-1.5.2/.appveyor.yml 2020-11-15 12:36:06.000000000 +0100
@@ -1,5 +1,6 @@
version: '{branch}-{build}'
build: off
+image: Visual Studio 2019
environment:
global:
COVERALLS_EXTRAS: '-v'
@@ -234,6 +235,50 @@
PYTHON_VERSION: '3.8'
PYTHON_ARCH: '64'
WHEEL_PATH: .tox/dist
+ - TOXENV: py39-cover,codecov,coveralls
+ TOXPYTHON: C:\Python39\python.exe
+ PYTHON_HOME: C:\Python39
+ PYTHON_VERSION: '3.9'
+ PYTHON_ARCH: '32'
+ - TOXENV: py39-cover,codecov,coveralls
+ TOXPYTHON: C:\Python39-x64\python.exe
+ PYTHON_HOME: C:\Python39-x64
+ PYTHON_VERSION: '3.9'
+ PYTHON_ARCH: '64'
+ - TOXENV: py39-cover-debug,codecov,coveralls
+ TOXPYTHON: C:\Python39\python.exe
+ PYTHON_HOME: C:\Python39
+ PYTHON_VERSION: '3.9'
+ PYTHON_ARCH: '32'
+ - TOXENV: py39-cover-debug,codecov,coveralls
+ TOXPYTHON: C:\Python39-x64\python.exe
+ PYTHON_HOME: C:\Python39-x64
+ PYTHON_VERSION: '3.9'
+ PYTHON_ARCH: '64'
+ - TOXENV: py39-nocov,codecov,coveralls
+ TOXPYTHON: C:\Python39\python.exe
+ PYTHON_HOME: C:\Python39
+ PYTHON_VERSION: '3.9'
+ PYTHON_ARCH: '32'
+ WHEEL_PATH: .tox/dist
+ - TOXENV: py39-nocov,codecov,coveralls
+ TOXPYTHON: C:\Python39-x64\python.exe
+ PYTHON_HOME: C:\Python39-x64
+ PYTHON_VERSION: '3.9'
+ PYTHON_ARCH: '64'
+ WHEEL_PATH: .tox/dist
+ - TOXENV: py39-nocov-debug,codecov,coveralls
+ TOXPYTHON: C:\Python39\python.exe
+ PYTHON_HOME: C:\Python39
+ PYTHON_VERSION: '3.9'
+ PYTHON_ARCH: '32'
+ WHEEL_PATH: .tox/dist
+ - TOXENV: py39-nocov-debug,codecov,coveralls
+ TOXPYTHON: C:\Python39-x64\python.exe
+ PYTHON_HOME: C:\Python39-x64
+ PYTHON_VERSION: '3.9'
+ PYTHON_ARCH: '64'
+ WHEEL_PATH: .tox/dist
init:
- ps: echo $env:TOXENV
- ps: ls C:\Python*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/.bumpversion.cfg
new/aspectlib-1.5.2/.bumpversion.cfg
--- old/aspectlib-1.5.0/.bumpversion.cfg 2020-04-05 11:03:47.000000000
+0200
+++ new/aspectlib-1.5.2/.bumpversion.cfg 2020-11-15 20:28:49.000000000
+0100
@@ -1,5 +1,5 @@
[bumpversion]
-current_version = 1.5.0
+current_version = 1.5.2
commit = True
tag = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/.cookiecutterrc
new/aspectlib-1.5.2/.cookiecutterrc
--- old/aspectlib-1.5.0/.cookiecutterrc 2020-04-05 10:47:18.000000000 +0200
+++ new/aspectlib-1.5.2/.cookiecutterrc 2020-11-15 12:35:13.000000000 +0100
@@ -1,9 +1,6 @@
# Generated by cookiepatcher, a small shim around cookiecutter (pip install
cookiepatcher)
-cookiecutter:
- _extensions:
- - jinja2_time.TimeExtension
- _template: /home/ionel/open-source/cookiecutter-pylibrary
+default_context:
allow_tests_inside_package: no
appveyor: yes
c_extension_function: '-'
@@ -32,7 +29,7 @@
project_short_description: '``aspectlib`` is an aspect-oriented
programming, monkey-patch and decorators library. It is useful when changing'
pypi_badge: yes
pypi_disable_upload: no
- release_date: '2016-05-10'
+ release_date: '2020-06-11'
repo_hosting: github.com
repo_hosting_domain: github.com
repo_name: python-aspectlib
@@ -50,7 +47,7 @@
test_runner: pytest
travis: yes
travis_osx: no
- version: 1.4.2
+ version: 1.5.1
website: http://blog.ionelmc.ro
year_from: '2014'
year_to: '2020'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/.editorconfig
new/aspectlib-1.5.2/.editorconfig
--- old/aspectlib-1.5.0/.editorconfig 2020-04-05 10:47:18.000000000 +0200
+++ new/aspectlib-1.5.2/.editorconfig 2020-11-15 12:35:12.000000000 +0100
@@ -2,10 +2,11 @@
root = true
[*]
+# Use Unix-style newlines for most files (except Windows files, see below).
end_of_line = lf
trim_trailing_whitespace = true
-insert_final_newline = true
indent_style = space
+insert_final_newline = true
indent_size = 4
charset = utf-8
@@ -14,3 +15,6 @@
[*.{yml,yaml}]
indent_size = 2
+
+[*.tsv]
+indent_style = tab
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/.gitignore
new/aspectlib-1.5.2/.gitignore
--- old/aspectlib-1.5.0/.gitignore 2020-04-05 10:47:18.000000000 +0200
+++ new/aspectlib-1.5.2/.gitignore 2020-11-15 12:35:12.000000000 +0100
@@ -39,11 +39,14 @@
# Translations
*.mo
-# Mr Developer
+# Buildout
.mr.developer.cfg
+
+# IDE project files
.project
.pydevproject
.idea
+.vscode
*.iml
*.komodoproject
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/.pre-commit-config.yaml
new/aspectlib-1.5.2/.pre-commit-config.yaml
--- old/aspectlib-1.5.0/.pre-commit-config.yaml 2020-04-05 10:47:18.000000000
+0200
+++ new/aspectlib-1.5.2/.pre-commit-config.yaml 2020-11-15 12:35:12.000000000
+0100
@@ -2,13 +2,14 @@
# pre-commit install
# To update the pre-commit hooks run:
# pre-commit install-hooks
-exclude: '^(.tox|ci/templates|.bumpversion.cfg)(/|$)'
+exclude: '^(\.tox|ci/templates|\.bumpversion\.cfg)(/|$)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: master
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
+ - id: debug-statements
- repo: https://github.com/timothycrosley/isort
rev: master
hooks:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/.travis.yml
new/aspectlib-1.5.2/.travis.yml
--- old/aspectlib-1.5.0/.travis.yml 2020-04-05 10:47:41.000000000 +0200
+++ new/aspectlib-1.5.2/.travis.yml 2020-11-15 12:36:06.000000000 +0100
@@ -1,10 +1,12 @@
language: python
dist: xenial
+virt: lxd
cache: false
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
+ - LANG=en_US.UTF-8
matrix:
include:
- python: '3.6'
@@ -74,6 +76,18 @@
- TOXENV=py38-nocov-debug
python: '3.8'
- env:
+ - TOXENV=py39-cover,codecov,coveralls
+ python: '3.9'
+ - env:
+ - TOXENV=py39-cover-debug,codecov,coveralls
+ python: '3.9'
+ - env:
+ - TOXENV=py39-nocov
+ python: '3.9'
+ - env:
+ - TOXENV=py39-nocov-debug
+ python: '3.9'
+ - env:
- TOXENV=pypy-cover,codecov,coveralls
python: 'pypy'
- env:
@@ -114,8 +128,8 @@
script:
- tox -v
after_failure:
- - more .tox/log/* | cat
- - more .tox/*/log/* | cat
+ - cat .tox/log/*
+ - cat .tox/*/log/*
notifications:
email:
on_success: never
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/AUTHORS.rst
new/aspectlib-1.5.2/AUTHORS.rst
--- old/aspectlib-1.5.0/AUTHORS.rst 2020-04-05 10:47:41.000000000 +0200
+++ new/aspectlib-1.5.2/AUTHORS.rst 2020-11-15 12:36:00.000000000 +0100
@@ -3,4 +3,5 @@
=======
* Ionel Cristian M??rie?? - https://blog.ionelmc.ro
-* Jonas Maurus - https://github.com/jdelic/
+* Jonas Maurus - https://github.com/jdelic
+* Felix Yan - https://github.com/felixonmars
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/CHANGELOG.rst
new/aspectlib-1.5.2/CHANGELOG.rst
--- old/aspectlib-1.5.0/CHANGELOG.rst 2020-04-05 10:47:41.000000000 +0200
+++ new/aspectlib-1.5.2/CHANGELOG.rst 2020-11-15 12:36:00.000000000 +0100
@@ -1,6 +1,17 @@
Changelog
=========
+1.5.2 (2020-11-15)
+------------------
+
+* Fixed broken import on Python 3.9.
+ Contributed by Felix Yan in `#19
<https://github.com/ionelmc/python-aspectlib/pull/19>`_.
+
+1.5.1 (2020-06-11)
+------------------
+
+* Remove some debug leftover prints from `v1.5.0`.
+
1.5.0 (2020-04-05)
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/CONTRIBUTING.rst
new/aspectlib-1.5.2/CONTRIBUTING.rst
--- old/aspectlib-1.5.0/CONTRIBUTING.rst 2020-04-05 10:47:18.000000000
+0200
+++ new/aspectlib-1.5.2/CONTRIBUTING.rst 2020-11-15 12:35:12.000000000
+0100
@@ -41,7 +41,7 @@
(look for the "Fork" button).
2. Clone your fork locally::
- git clone [email protected]:ionelmc/python-aspectlib.git
+ git clone [email protected]:YOURGITHUBNAME/python-aspectlib.git
3. Create a branch for local development::
@@ -85,6 +85,6 @@
tox -e envname -- pytest -k test_myfeature
-To run all the test environments in *parallel* (you need to ``pip install
detox``)::
+To run all the test environments in *parallel*::
- detox
+ tox -p auto
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/PKG-INFO new/aspectlib-1.5.2/PKG-INFO
--- old/aspectlib-1.5.0/PKG-INFO 2020-04-05 11:03:55.237020000 +0200
+++ new/aspectlib-1.5.2/PKG-INFO 2020-11-15 20:28:59.416652700 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: aspectlib
-Version: 1.5.0
+Version: 1.5.2
Summary: ``aspectlib`` is an aspect-oriented programming, monkey-patch and
decorators library. It is useful when changing
Home-page: https://github.com/ionelmc/python-aspectlib
Author: Ionel Cristian M??rie??
@@ -60,6 +60,17 @@
Changelog
=========
+ 1.5.2 (2020-11-15)
+ ------------------
+
+ * Fixed broken import on Python 3.9.
+ Contributed by Felix Yan in `#19
<https://github.com/ionelmc/python-aspectlib/pull/19>`_.
+
+ 1.5.1 (2020-06-11)
+ ------------------
+
+ * Remove some debug leftover prints from `v1.5.0`.
+
1.5.0 (2020-04-05)
------------------
@@ -253,6 +264,7 @@
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Utilities
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/README.rst
new/aspectlib-1.5.2/README.rst
--- old/aspectlib-1.5.0/README.rst 2020-04-05 11:03:47.000000000 +0200
+++ new/aspectlib-1.5.2/README.rst 2020-11-15 20:28:49.000000000 +0100
@@ -55,9 +55,9 @@
:alt: Supported implementations
:target: https://pypi.org/project/aspectlib
-.. |commits-since| image::
https://img.shields.io/github/commits-since/ionelmc/python-aspectlib/v1.5.0.svg
+.. |commits-since| image::
https://img.shields.io/github/commits-since/ionelmc/python-aspectlib/v1.5.2.svg
:alt: Commits since latest release
- :target:
https://github.com/ionelmc/python-aspectlib/compare/v1.5.0...master
+ :target:
https://github.com/ionelmc/python-aspectlib/compare/v1.5.2...master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/ci/requirements.txt
new/aspectlib-1.5.2/ci/requirements.txt
--- old/aspectlib-1.5.0/ci/requirements.txt 2020-04-05 10:47:18.000000000
+0200
+++ new/aspectlib-1.5.2/ci/requirements.txt 2020-11-15 12:35:12.000000000
+0100
@@ -1,4 +1,4 @@
virtualenv>=16.6.0
pip>=19.1.1
setuptools>=18.0.1
-six>=1.12.0
+six>=1.14.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/ci/templates/.appveyor.yml
new/aspectlib-1.5.2/ci/templates/.appveyor.yml
--- old/aspectlib-1.5.0/ci/templates/.appveyor.yml 2020-04-05
10:47:18.000000000 +0200
+++ new/aspectlib-1.5.2/ci/templates/.appveyor.yml 2020-11-15
12:35:12.000000000 +0100
@@ -1,5 +1,6 @@
version: '{branch}-{build}'
build: off
+image: Visual Studio 2019
environment:
global:
COVERALLS_EXTRAS: '-v'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/ci/templates/.travis.yml
new/aspectlib-1.5.2/ci/templates/.travis.yml
--- old/aspectlib-1.5.0/ci/templates/.travis.yml 2020-04-05
10:47:18.000000000 +0200
+++ new/aspectlib-1.5.2/ci/templates/.travis.yml 2020-11-15
12:35:12.000000000 +0100
@@ -1,10 +1,12 @@
language: python
dist: xenial
+virt: lxd
cache: false
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
+ - LANG=en_US.UTF-8
matrix:
include:
- python: '3.6'
@@ -23,7 +25,7 @@
python: 'pypy'
{%- else %}{{ '' }}
python: '{{ '{0[2]}.{0[3]}'.format(env) }}'
-{%- endif %}
+{%- endif %}{{ '' }}
{%- endfor %}{{ '' }}
before_install:
- python --version
@@ -38,8 +40,8 @@
script:
- tox -v
after_failure:
- - more .tox/log/* | cat
- - more .tox/*/log/* | cat
+ - cat .tox/log/*
+ - cat .tox/*/log/*
notifications:
email:
on_success: never
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/ci/templates/tox.ini
new/aspectlib-1.5.2/ci/templates/tox.ini
--- old/aspectlib-1.5.0/ci/templates/tox.ini 2020-04-05 10:47:41.000000000
+0200
+++ new/aspectlib-1.5.2/ci/templates/tox.ini 2020-11-15 12:36:00.000000000
+0100
@@ -10,8 +10,7 @@
[testenv]
basepython =
- docs: {env:TOXPYTHON:python3.6}
- {bootstrap,clean,check,report,codecov,coveralls}: {env:TOXPYTHON:python3}
+ {bootstrap,clean,check,report,docs,codecov,coveralls}:
{env:TOXPYTHON:python3}
setenv =
PYTHONPATH={toxinidir}/tests
PYTHONUNBUFFERED=yes
@@ -52,7 +51,7 @@
python setup.py check --strict --metadata --restructuredtext
check-manifest {toxinidir}
flake8
- isort --verbose --check-only --diff --recursive
+ isort --verbose --check-only --diff --filter-files .
[testenv:docs]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/docs/conf.py
new/aspectlib-1.5.2/docs/conf.py
--- old/aspectlib-1.5.0/docs/conf.py 2020-04-05 11:03:47.000000000 +0200
+++ new/aspectlib-1.5.2/docs/conf.py 2020-11-15 20:28:49.000000000 +0100
@@ -20,7 +20,7 @@
year = '2014-2020'
author = 'Ionel Cristian M??rie??'
copyright = '{0}, {1}'.format(year, author)
-version = release = '1.5.0'
+version = release = '1.5.2'
pygments_style = 'trac'
templates_path = ['.']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/docs/requirements.txt
new/aspectlib-1.5.2/docs/requirements.txt
--- old/aspectlib-1.5.0/docs/requirements.txt 2020-04-05 10:47:41.000000000
+0200
+++ new/aspectlib-1.5.2/docs/requirements.txt 2020-11-15 12:35:12.000000000
+0100
@@ -1,3 +1,2 @@
-sphinx
+sphinx>=1.3
sphinx-py3doc-enhanced-theme
--e .
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/setup.cfg
new/aspectlib-1.5.2/setup.cfg
--- old/aspectlib-1.5.0/setup.cfg 2020-04-05 11:03:55.238020000 +0200
+++ new/aspectlib-1.5.2/setup.cfg 2020-11-15 20:28:59.417652600 +0100
@@ -3,7 +3,7 @@
[flake8]
max-line-length = 140
-exclude = .tox,ci/templates
+exclude = .tox,.eggs,ci/templates,build,dist
[tool:pytest]
norecursedirs =
@@ -31,8 +31,7 @@
known_first_party = aspectlib
default_section = THIRDPARTY
forced_separate = test_aspectlib
-not_skip = __init__.py
-skip = .tox,ci/templates
+skip = .tox,.eggs,ci/templates,build,dist
[matrix]
python_versions =
@@ -41,6 +40,7 @@
py36
py37
py38
+ py39
pypy
pypy3
dependencies =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/setup.py new/aspectlib-1.5.2/setup.py
--- old/aspectlib-1.5.0/setup.py 2020-04-05 11:03:47.000000000 +0200
+++ new/aspectlib-1.5.2/setup.py 2020-11-15 20:28:49.000000000 +0100
@@ -25,7 +25,7 @@
setup(
name='aspectlib',
- version='1.5.0',
+ version='1.5.2',
license='BSD-2-Clause',
description='``aspectlib`` is an aspect-oriented programming, monkey-patch
and decorators library. It is useful when changing',
long_description='%s\n%s' % (
@@ -55,6 +55,7 @@
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
# uncomment if you test on these interpreters:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/src/aspectlib/__init__.py
new/aspectlib-1.5.2/src/aspectlib/__init__.py
--- old/aspectlib-1.5.0/src/aspectlib/__init__.py 2020-04-05
11:03:47.000000000 +0200
+++ new/aspectlib-1.5.2/src/aspectlib/__init__.py 2020-11-15
20:28:49.000000000 +0100
@@ -57,7 +57,7 @@
isasyncfunction = None
__all__ = 'weave', 'Aspect', 'Proceed', 'Return', 'ALL_METHODS',
'NORMAL_METHODS', 'ABSOLUTELY_ALL_METHODS'
-__version__ = '1.5.0'
+__version__ = '1.5.2'
logger = getLogger(__name__)
logdebug = logf(logger.debug)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/src/aspectlib/py35support.py
new/aspectlib-1.5.2/src/aspectlib/py35support.py
--- old/aspectlib-1.5.0/src/aspectlib/py35support.py 2020-04-05
08:53:17.000000000 +0200
+++ new/aspectlib-1.5.2/src/aspectlib/py35support.py 2020-06-11
15:56:48.000000000 +0200
@@ -42,9 +42,7 @@
kwargs = advice.kwargs
gen = cutpoint_function(*args, **kwargs)
try:
- print(' await:', gen)
result = await gen
- print('got result from await:', result)
except BaseException:
advice = advisor.throw(*sys.exc_info())
else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/src/aspectlib/test.py
new/aspectlib-1.5.2/src/aspectlib/test.py
--- old/aspectlib-1.5.0/src/aspectlib/test.py 2020-04-05 08:53:17.000000000
+0200
+++ new/aspectlib-1.5.2/src/aspectlib/test.py 2020-11-15 11:48:22.000000000
+0100
@@ -29,7 +29,10 @@
try:
from dummy_thread import allocate_lock
except ImportError:
- from _dummy_thread import allocate_lock
+ try:
+ from _dummy_thread import allocate_lock
+ except ImportError:
+ from _thread import allocate_lock
try:
from collections import OrderedDict
except ImportError:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/src/aspectlib.egg-info/PKG-INFO
new/aspectlib-1.5.2/src/aspectlib.egg-info/PKG-INFO
--- old/aspectlib-1.5.0/src/aspectlib.egg-info/PKG-INFO 2020-04-05
11:03:55.000000000 +0200
+++ new/aspectlib-1.5.2/src/aspectlib.egg-info/PKG-INFO 2020-11-15
20:28:59.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: aspectlib
-Version: 1.5.0
+Version: 1.5.2
Summary: ``aspectlib`` is an aspect-oriented programming, monkey-patch and
decorators library. It is useful when changing
Home-page: https://github.com/ionelmc/python-aspectlib
Author: Ionel Cristian M??rie??
@@ -60,6 +60,17 @@
Changelog
=========
+ 1.5.2 (2020-11-15)
+ ------------------
+
+ * Fixed broken import on Python 3.9.
+ Contributed by Felix Yan in `#19
<https://github.com/ionelmc/python-aspectlib/pull/19>`_.
+
+ 1.5.1 (2020-06-11)
+ ------------------
+
+ * Remove some debug leftover prints from `v1.5.0`.
+
1.5.0 (2020-04-05)
------------------
@@ -253,6 +264,7 @@
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Utilities
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/tests/test_contrib.py
new/aspectlib-1.5.2/tests/test_contrib.py
--- old/aspectlib-1.5.0/tests/test_contrib.py 2020-04-05 08:53:17.000000000
+0200
+++ new/aspectlib-1.5.2/tests/test_contrib.py 2020-06-23 21:19:46.000000000
+0200
@@ -15,6 +15,7 @@
def test_done_suceess():
calls = []
+
@retry
def ok_func():
calls.append(1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aspectlib-1.5.0/tox.ini new/aspectlib-1.5.2/tox.ini
--- old/aspectlib-1.5.0/tox.ini 2020-04-05 10:47:41.000000000 +0200
+++ new/aspectlib-1.5.2/tox.ini 2020-11-15 12:36:06.000000000 +0100
@@ -23,6 +23,10 @@
py38-cover-debug,
py38-nocov,
py38-nocov-debug,
+ py39-cover,
+ py39-cover-debug,
+ py39-nocov,
+ py39-nocov-debug,
pypy-cover,
pypy-cover-debug,
pypy-nocov,
@@ -35,8 +39,7 @@
[testenv]
basepython =
- docs: {env:TOXPYTHON:python3.6}
- {bootstrap,clean,check,report,codecov,coveralls}: {env:TOXPYTHON:python3}
+ {bootstrap,clean,check,report,docs,codecov,coveralls}:
{env:TOXPYTHON:python3}
setenv =
PYTHONPATH={toxinidir}/tests
PYTHONUNBUFFERED=yes
@@ -77,7 +80,7 @@
python setup.py check --strict --metadata --restructuredtext
check-manifest {toxinidir}
flake8
- isort --verbose --check-only --diff --recursive
+ isort --verbose --check-only --diff --filter-files .
[testenv:docs]
@@ -284,6 +287,38 @@
setenv =
{[testenv]setenv}
ASPECTLIB_DEBUG=yes
+
+[testenv:py39-cover]
+basepython = {env:TOXPYTHON:python3.9}
+setenv =
+ {[testenv]setenv}
+usedevelop = true
+commands =
+ {posargs:pytest --cov --cov-report=term-missing -vv}
+deps =
+ {[testenv]deps}
+ pytest-cov
+
+[testenv:py39-cover-debug]
+basepython = {env:TOXPYTHON:python3.9}
+setenv =
+ {[testenv]setenv}
+ ASPECTLIB_DEBUG=yes
+usedevelop = true
+commands =
+ {posargs:pytest --cov --cov-report=term-missing -vv}
+deps =
+ {[testenv]deps}
+ pytest-cov
+
+[testenv:py39-nocov]
+basepython = {env:TOXPYTHON:python3.9}
+
+[testenv:py39-nocov-debug]
+basepython = {env:TOXPYTHON:python3.9}
+setenv =
+ {[testenv]setenv}
+ ASPECTLIB_DEBUG=yes
[testenv:pypy-cover]
basepython = {env:TOXPYTHON:pypy}