forked from pool/python-frozenlist
Accepting request 1137521 from devel:languages:python
- update to 1.4.1:
* Declared Python 3.12 and PyPy 3.8-3.10 supported officially
in the distribution package metadata.
* Replaced the packaging is replaced from an old-fashioned
:file:`setup.py` to an in-tree PEP 517 build backend -- by
:user:`webknjaz`. Whenever the end-users or downstream
packagers need to build frozenlist from source (a Git
checkout or an sdist), they may pass a config_settings flag
pure-python. If this flag is not set, a C-extension will be
built and included into the distribution. Here is how this
can be done with pip: $ python3 -m pip install . --config-
settings=pure-python= This will also work with -e |
--editable. The same can be achieved via pypa/build: $
python3 -m build --config-setting=pure-python= Adding -w |
--wheel can force pypa/build produce a wheel from source
directly, as opposed to building an sdist and then building
from it. Related issues and pull requests on GitHub:
:issue:`560`.
* Replaced the packaging is replaced from an old-fashioned
:file:`setup.py` to an in-tree PEP 517 build backend
* Whenever the end-users or downstream packagers need to build
frozenlist from source (a Git checkout or an sdist), they may
pass a config_settings flag pure-python. If this flag is not
set, a C-extension will be built and included into the
distribution.
* It is now possible to request line tracing in Cython builds
using the with-cython-tracing PEP 517 config setting
* This can be used in CI and development environment to measure
coverage on Cython modules, but is not normally useful to the
end-users or downstream packagers.
OBS-URL: https://build.opensuse.org/request/show/1137521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=7
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:09163bdf0b2907454042edb19f887c6d33806adc71fbd54afc14908bfdc22251
|
||||
size 90722
|
||||
BIN
frozenlist-1.4.1.tar.gz
LFS
Normal file
BIN
frozenlist-1.4.1.tar.gz
LFS
Normal file
Binary file not shown.
19
no-pytest-cov.patch
Normal file
19
no-pytest-cov.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
Index: frozenlist-1.4.1/pytest.ini
|
||||
===================================================================
|
||||
--- frozenlist-1.4.1.orig/pytest.ini
|
||||
+++ frozenlist-1.4.1/pytest.ini
|
||||
@@ -21,14 +21,6 @@ addopts =
|
||||
# Dump the test results in junit format:
|
||||
# --junitxml=.test-results/pytest/results.xml
|
||||
|
||||
- # Pre-load the `pytest-cov` plugin early:
|
||||
- -p pytest_cov
|
||||
-
|
||||
- # `pytest-cov`:
|
||||
- --cov
|
||||
- --cov-context=test
|
||||
- --cov-config=.coveragerc
|
||||
-
|
||||
# Fail on config parsing warnings:
|
||||
# --strict-config
|
||||
|
||||
@@ -1,3 +1,47 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 8 09:11:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.4.1:
|
||||
* Declared Python 3.12 and PyPy 3.8-3.10 supported officially
|
||||
in the distribution package metadata.
|
||||
* Replaced the packaging is replaced from an old-fashioned
|
||||
:file:`setup.py` to an in-tree PEP 517 build backend -- by
|
||||
:user:`webknjaz`. Whenever the end-users or downstream
|
||||
packagers need to build frozenlist from source (a Git
|
||||
checkout or an sdist), they may pass a config_settings flag
|
||||
pure-python. If this flag is not set, a C-extension will be
|
||||
built and included into the distribution. Here is how this
|
||||
can be done with pip: $ python3 -m pip install . --config-
|
||||
settings=pure-python= This will also work with -e |
|
||||
--editable. The same can be achieved via pypa/build: $
|
||||
python3 -m build --config-setting=pure-python= Adding -w |
|
||||
--wheel can force pypa/build produce a wheel from source
|
||||
directly, as opposed to building an sdist and then building
|
||||
from it. Related issues and pull requests on GitHub:
|
||||
:issue:`560`.
|
||||
* Replaced the packaging is replaced from an old-fashioned
|
||||
:file:`setup.py` to an in-tree PEP 517 build backend
|
||||
* Whenever the end-users or downstream packagers need to build
|
||||
frozenlist from source (a Git checkout or an sdist), they may
|
||||
pass a config_settings flag pure-python. If this flag is not
|
||||
set, a C-extension will be built and included into the
|
||||
distribution.
|
||||
* It is now possible to request line tracing in Cython builds
|
||||
using the with-cython-tracing PEP 517 config setting
|
||||
* This can be used in CI and development environment to measure
|
||||
coverage on Cython modules, but is not normally useful to the
|
||||
end-users or downstream packagers.
|
||||
Otherwise, it's off unless requested explicitly.
|
||||
* The following produces C-files required for the Cython
|
||||
coverage plugin to map the measurements back to the PYX-
|
||||
files:
|
||||
* Alternatively, the FROZENLIST_CYTHON_TRACING=1 environment
|
||||
variable can be set to do the same as the PEP 517 config
|
||||
setting.
|
||||
* Coverage collection has been implemented for the Cython
|
||||
modules
|
||||
- add no-pytest-cov.patch to skip pytest-coverage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 14 20:49:55 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
@@ -25,7 +69,7 @@ Fri Dec 2 17:45:08 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
* Fixed CI runs when creating a new release, where new towncrier versions fail
|
||||
when the current version section is already present.
|
||||
|
||||
- Update to 1.3.2
|
||||
- Update to 1.3.2
|
||||
* Misc
|
||||
Updated the CI runs to better check for test results and to avoid
|
||||
deprecated syntax. #327
|
||||
@@ -34,7 +78,7 @@ Fri Dec 2 17:45:08 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
Wed Sep 28 19:34:19 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- update to 1.3.1
|
||||
* The published source distribution package became buildable under Python 3.11.
|
||||
* The published source distribution package became buildable under Python 3.11.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 23 16:23:05 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-frozenlist
|
||||
#
|
||||
# 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
|
||||
@@ -18,14 +18,16 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-frozenlist
|
||||
Version: 1.4.0
|
||||
Version: 1.4.1
|
||||
Release: 0
|
||||
Summary: Python list-like structure which implements MutableSequence
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/aio-libs/frozenlist
|
||||
Source: https://files.pythonhosted.org/packages/source/f/frozenlist/frozenlist-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Cython >= 0.29.24}
|
||||
Patch1: no-pytest-cov.patch
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module devel >= 3.8}
|
||||
BuildRequires: %{python_module expandvars}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module wheel}
|
||||
@@ -37,7 +39,7 @@ BuildRequires: python-rpm-macros
|
||||
Python list-like structure which implements collections.abc.MutableSequence.
|
||||
|
||||
%prep
|
||||
%setup -q -n frozenlist-%{version}
|
||||
%autosetup -p1 -n frozenlist-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
|
||||
Reference in New Issue
Block a user