11
0
forked from pool/python-apipkg

Accepting request 925833 from home:bnavigator:branches:devel:languages:python:pytest

- Update to v2.1.0
  * fix race condition for import of modules using apipkg.initpkg
    in Python 3.3+ by updating existing modules in-place rather
    than replacing in sys.modules with an apipkg.ApiModule
    instances. This race condition exists for import statements
    (and __import__) in Python 3.3+ where sys.modules is checked
    before obtaining an import lock, and for
    importlib.import_module in Python 3.11+ for the same reason.
- Release 2.0.1
  * fix race conditions for attribute creation
- Release 2.0.0
  * also transfer __spec__ attribute
  * make py.test hack more specific to avoid hiding real errors
  * switch from Travis CI to GitHub Actions
  * modernize package build
  * reformat code with black
- Drop pytest4.patch

OBS-URL: https://build.opensuse.org/request/show/925833
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-apipkg?expand=0&rev=11
This commit is contained in:
2021-10-17 15:26:11 +00:00
committed by Git OBS Bridge
parent fa7eb2184f
commit b0152bfcfe
5 changed files with 34 additions and 49 deletions

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Sun Oct 17 12:03:03 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to v2.1.0
* fix race condition for import of modules using apipkg.initpkg
in Python 3.3+ by updating existing modules in-place rather
than replacing in sys.modules with an apipkg.ApiModule
instances. This race condition exists for import statements
(and __import__) in Python 3.3+ where sys.modules is checked
before obtaining an import lock, and for
importlib.import_module in Python 3.11+ for the same reason.
- Release 2.0.1
* fix race conditions for attribute creation
- Release 2.0.0
* also transfer __spec__ attribute
* make py.test hack more specific to avoid hiding real errors
* switch from Travis CI to GitHub Actions
* modernize package build
* reformat code with black
- Drop pytest4.patch
-------------------------------------------------------------------
Tue Dec 8 10:59:41 UTC 2020 - Benjamin Greiner <code@bnavigator.de>