Compare commits

2 Commits
1.1 ... main

6 changed files with 67 additions and 40 deletions

BIN
frozenlist-1.4.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
frozenlist-1.6.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,18 +1,17 @@
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
diff -Nru frozenlist-1.6.2.orig/pytest.ini frozenlist-1.6.2/pytest.ini
--- frozenlist-1.6.2.orig/pytest.ini 2025-06-03 22:04:42.000000000 +0200
+++ frozenlist-1.6.2/pytest.ini 2025-06-06 13:58:26.290587614 +0200
@@ -18,14 +18,6 @@
# https://docs.pytest.org/en/stable/doctest.html
--doctest-modules
- # Pre-load the `pytest-cov` plugin early:
- -p pytest_cov
-
- # `pytest-cov`:
- --cov
- --cov-context=test
- --cov-config=.coveragerc
- --cov-context=test
-
# Fail on config parsing warnings:
# --strict-config

View File

@@ -1,3 +1,57 @@
-------------------------------------------------------------------
Fri Jun 6 11:59:13 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.6.2
* No significant changes
- from version 1.6.1
* Correctly use cimport for including PyBool_FromLong
* Exclude _frozenlist.cpp from bdists/wheels
* Updated to use Cython 3.1 universally across the build path
- from version 1.6.0
* Stopped implicitly allowing the use of Cython pre-release versions
when building the distribution package
* Implemented support for the free-threaded build of CPython 3.13
* Started building armv7l wheels
* Stopped implicitly allowing the use of Cython pre-release versions
when building the distribution package
* Started building wheels for the free-threaded build of CPython 3.13
* The packaging metadata switched to including an SPDX license identifier
introduced in :pep:639
* GitHub Actions CI/CD is now configured to manage caching pip-ecosystem
dependencies using re-actors/cache-python-deps_ -- an action by
:user:webknjaz that takes into account ABI stability and the exact
version of Python runtime.
* .. _re-actors/cache-python-deps:
https://github.com/marketplace/actions/cache-python-deps
* Organized dependencies into test and lint dependencies so that no
unnecessary ones are installed during CI runs
- Add gcc-c++ to BuildRequires
- Refresh no-pytest-cov.patch
-------------------------------------------------------------------
Tue Oct 29 21:43:37 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.5.0:
* An incorrect signature of the __class_getitem__ class method
has been fixed, adding a missing class_item argument under
Python 3.8 and older. This change also improves the code
coverage of this method that was previously missing -- by
:user:`webknjaz`. Related issues and pull requests on GitHub:
:issue:`567`, :issue:`571`.
* Rendered issue, PR, and commit links now lead to frozenlist's
repo instead of yarl's repo. Related issues and pull requests
on GitHub: :issue:`573`.
* On the :doc:`Contributing docs <contributing/guidelines>`
page, a link to the Towncrier philosophy has been fixed.
Related issues and pull requests on GitHub: :issue:`574`.
* A name of a temporary building directory now reflects that
it's related to frozenlist, not yarl. Related issues and pull
requests on GitHub: :issue:`573`.
* Declared Python 3.13 supported officially in the distribution
package metadata. Related issues and pull requests on GitHub:
:issue:`595`.
- drop skip-some-attributes.patch (upstream)
-------------------------------------------------------------------
Mon Jul 29 14:27:41 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-frozenlist
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-frozenlist
Version: 1.4.1
Version: 1.6.2
Release: 0
Summary: Python list-like structure which implements MutableSequence
License: Apache-2.0
@@ -27,8 +27,6 @@ Source: https://files.pythonhosted.org/packages/source/f/frozenlist/froz
Patch1: no-pytest-cov.patch
# PATCH-FIX-OPENSUSE - avoid embedding random tmp dir in .so
Patch2: reproducible.patch
# PATCH-FIX-UPSTREAM gh#aio-libs/frozenlist#588 - Skip some attributes when testing
Patch3: skip-some-attributes.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module expandvars}
@@ -36,6 +34,7 @@ BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
%python_subpackages

View File

@@ -1,25 +0,0 @@
From c6e8550ff462a6e299df35a935d2ffbf2777894e Mon Sep 17 00:00:00 2001
From: Karolina Surma <ksurma@redhat.com>
Date: Thu, 30 May 2024 10:46:25 +0200
Subject: [PATCH] Skip some attributes when testing
---
tests/test_frozenlist.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_frozenlist.py b/tests/test_frozenlist.py
index 403d3ec..90ea84b 100644
--- a/tests/test_frozenlist.py
+++ b/tests/test_frozenlist.py
@@ -11,7 +11,7 @@ from frozenlist import FrozenList, PyFrozenList
class FrozenListMixin:
FrozenList = NotImplemented
- SKIP_METHODS = {"__abstractmethods__", "__slots__"}
+ SKIP_METHODS = {"__abstractmethods__", "__slots__", "__static_attributes__", "__firstlineno__"}
def test_subclass(self) -> None:
assert issubclass(self.FrozenList, MutableSequence)
--
2.44.0