1
0

29 Commits

Author SHA256 Message Date
0a731c7d2c Accepting request 1328762 from devel:languages:python
- Add patch support-python314.patch:
  * Do not attempt to query annotation internals.

OBS-URL: https://build.opensuse.org/request/show/1328762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=14
2026-01-26 09:44:33 +00:00
ac5f412627 - Add patch support-python314.patch:
* Do not attempt to query annotation internals.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=28
2026-01-23 02:07:30 +00:00
915095ac51 Accepting request 1312740 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1312740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=13
2025-10-23 14:35:27 +00:00
6f292cbdb8 - Update to 1.8.0
* The :file:`reusable-cibuildwheel.yml` workflow has been refactored to
    be more generic and :file:`ci-cd.yml` now holds all the configuration
    toggles
  * When building wheels, the source distribution is now passed directly
    to the ``cibuildwheel`` invocation
    Builds and tests have been added to ``ci-cd.yml`` for arm64 Windows wheels
  * Started building wheels for CPython 3.14
  * Removed ``--config-settings=pure-python=false`` from :file:`requirements/dev.txt`.
    Developers on CPython still get accelerated builds by default. To explicitly build
    a pure Python wheel, use ``pip install -e . --config-settings=pure-python=true``

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=26
2025-10-21 10:19:41 +00:00
a5cadf0f1c Accepting request 1307100 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1307100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=12
2025-09-26 20:24:13 +00:00
b79ad4f006 Accepting request 1307084 from home:glaubitz:branches:devel:languages:python
- Update to 1.7.0
  * Added deepcopy support to FrozenList
  * Fixed an issue where ``frozenlist`` binary wheels would be
    built with debugging symbols and line tracing enabled, which
    significantly impacted performance. Line tracing is now disabled
    by default and can only be enabled explicitly
    - This change ensures that production builds are optimized for
      performance. Developers who need line tracing for debugging
      purposes can still enable it by:
      1. Setting the ``FROZENLIST_CYTHON_TRACING`` environment variable
      2. Using the ``--config-setting=with-cython-tracing=true`` option with pip
  * Enabled ``PIP_CONSTRAINT`` environment variable in the build configuration
    to ensure the pinned Cython version from ``requirements/cython.txt`` is
    used during wheel builds.

OBS-URL: https://build.opensuse.org/request/show/1307084
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=24
2025-09-25 12:10:12 +00:00
46177a7f12 Accepting request 1284011 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1284011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=11
2025-06-10 06:56:49 +00:00
79bd31904d - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=22
2025-06-09 08:19:45 +00:00
4fcbd53fbf Accepting request 1219202 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1219202
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=10
2024-10-30 16:33:13 +00:00
d8851f7515 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=20
2024-10-29 21:44:04 +00:00
21822faaa7 Accepting request 1190524 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1190524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=9
2024-08-01 20:03:15 +00:00
5bbba08f03 Accepting request 1139190 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1139190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=8
2024-01-17 21:14:45 +00:00
2c1aaea4f2 Accepting request 1139165 from home:bmwiedemann:branches:devel:languages:python
Add reproducible.patch to avoid embedding a random tmp dir (boo#1062303)

OBS-URL: https://build.opensuse.org/request/show/1139165
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=16
2024-01-16 14:57:43 +00:00
6070ddf306 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
2024-01-09 19:48:38 +00:00
20d33a4464 - add no-pytest-cov.patch to skip pytest-coverage
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=14
2024-01-08 09:16:55 +00:00
78dfe12776 - 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/package/show/devel:languages:python/python-frozenlist?expand=0&rev=13
2024-01-08 09:13:01 +00:00
088e424a06 Accepting request 1103950 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1103950
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=6
2023-08-16 12:16:29 +00:00
John Vandenberg
df9dc03791 Accepting request 1103939 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
- update to 1.4.0:
  * The published source distribution package became buildable
  * under Python 3.12.
  * Removed an unused :py:data:`typing.Tuple` import
  * Deprecations and Removals
  * Dropped Python 3.7 support.

OBS-URL: https://build.opensuse.org/request/show/1103939
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=11
2023-08-15 01:13:49 +00:00
e828791030 Accepting request 1081915 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=5
2023-04-22 20:00:54 +00:00
40f6c8d10b Accepting request 1081417 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081417
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=9
2023-04-21 14:37:38 +00:00
ba9901e818 Accepting request 1039670 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1039670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=4
2022-12-04 13:57:36 +00:00
bbe39fb901 Accepting request 1039630 from home:yarunachalam:branches:devel:languages:python
- Update to 1.3.3
  * 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 
  * Misc
    Updated the CI runs to better check for test results and to avoid
    deprecated syntax. #327

OBS-URL: https://build.opensuse.org/request/show/1039630
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=7
2022-12-02 21:38:58 +00:00
fb5cd09685 Accepting request 1006872 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1006872
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=3
2022-10-01 15:42:41 +00:00
9a3a569d3b Accepting request 1006762 from home:yarunachalam:branches:devel:languages:python
- update to 1.3.1
  * The published source distribution package became buildable under Python 3.11.

OBS-URL: https://build.opensuse.org/request/show/1006762
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=5
2022-09-29 09:10:46 +00:00
d625a3f067 Accepting request 948240 from devel:languages:python
- update to 1.3.0:
  * Do not install C sources with binary distributions.
  * Dropped Python 3.6 support

OBS-URL: https://build.opensuse.org/request/show/948240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=2
2022-01-25 16:35:45 +00:00
32e62fe83f - update to 1.3.0:
* Do not install C sources with binary distributions.
  * Dropped Python 3.6 support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=4
2022-01-23 16:25:33 +00:00
d51dd22b9f Accepting request 940579 from devel:languages:python
Required by python-aiosignal.

OBS-URL: https://build.opensuse.org/request/show/940579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=1
2021-12-16 01:00:31 +00:00
2c82dd3dea Accepting request 939955 from home:bnavigator:python-rpm-macros
- Update to 1.2.0
  * FrozenList now supports being used as a generic type as per PEP
    585, e.g. frozen_int_list: FrozenList[int] (requires Python 3.9
    or newer). #172
  * Added support for Python 3.10. #227
  * Started shipping platform-specific wheels with the musl tag
    targeting typical Alpine Linux runtimes. #227
  * Started shipping platform-specific arm64 wheels for Apple
    Silicon. #227
- Cythonize
- Required by some aio packages.

OBS-URL: https://build.opensuse.org/request/show/939955
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=2
2021-12-14 21:25:31 +00:00
cd2cf3ab83 Accepting request 851594 from home:jayvdb:py-submit
dep of several aio-libs projects, include aiosignal (not in d-l-py yet), and aiohttp which is already in d-l-py, and I activated most of its tests recently, but some are still broken due this and other packaging bugs.  It is also an exposed datatype of aiohttp, so this library is needed by users of the relevant part of aiohttp, and they will be expecting it pre-installed by aiohttp.

OBS-URL: https://build.opensuse.org/request/show/851594
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=1
2020-11-30 14:43:14 +00:00
7 changed files with 123 additions and 41 deletions

Binary file not shown.

3
frozenlist-1.8.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ede829ed8d842f6cd48fc7081d7a41001a56f1f38603f9d49bf3020d59a31ad
size 45875

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,96 @@
-------------------------------------------------------------------
Fri Jan 23 02:06:59 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-python314.patch:
* Do not attempt to query annotation internals.
-------------------------------------------------------------------
Tue Oct 21 09:56:00 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.8.0
* The :file:`reusable-cibuildwheel.yml` workflow has been refactored to
be more generic and :file:`ci-cd.yml` now holds all the configuration
toggles
* When building wheels, the source distribution is now passed directly
to the ``cibuildwheel`` invocation
Builds and tests have been added to ``ci-cd.yml`` for arm64 Windows wheels
* Started building wheels for CPython 3.14
* Removed ``--config-settings=pure-python=false`` from :file:`requirements/dev.txt`.
Developers on CPython still get accelerated builds by default. To explicitly build
a pure Python wheel, use ``pip install -e . --config-settings=pure-python=true``
-------------------------------------------------------------------
Thu Sep 25 11:08:56 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.7.0
* Added deepcopy support to FrozenList
* Fixed an issue where ``frozenlist`` binary wheels would be
built with debugging symbols and line tracing enabled, which
significantly impacted performance. Line tracing is now disabled
by default and can only be enabled explicitly
- This change ensures that production builds are optimized for
performance. Developers who need line tracing for debugging
purposes can still enable it by:
1. Setting the ``FROZENLIST_CYTHON_TRACING`` environment variable
2. Using the ``--config-setting=with-cython-tracing=true`` option with pip
* Enabled ``PIP_CONSTRAINT`` environment variable in the build configuration
to ensure the pinned Cython version from ``requirements/cython.txt`` is
used during wheel builds.
-------------------------------------------------------------------
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) 2026 SUSE LLC and contributors
#
# 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.8.0
Release: 0
Summary: Python list-like structure which implements MutableSequence
License: Apache-2.0
@@ -27,8 +27,8 @@ 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
# PATCH-FIX-OPENSUSE Do not check annotation internals
Patch3: support-python314.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module expandvars}
@@ -36,6 +36,7 @@ BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
%python_subpackages
@@ -60,6 +61,6 @@ export CFLAGS="%{optflags}"
%doc CHANGES.rst README.rst
%license LICENSE
%{python_sitearch}/frozenlist
%{python_sitearch}/frozenlist-%{version}*-info
%{python_sitearch}/frozenlist-%{version}.dist-info
%changelog

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

14
support-python314.patch Normal file
View File

@@ -0,0 +1,14 @@
Index: frozenlist-1.8.0/tests/test_frozenlist.py
===================================================================
--- frozenlist-1.8.0.orig/tests/test_frozenlist.py
+++ frozenlist-1.8.0/tests/test_frozenlist.py
@@ -29,6 +29,9 @@ class FrozenListMixin:
for name in set(dir(MutableSequence)) - self.SKIP_METHODS:
if name.startswith("_") and not name.endswith("_"):
continue
+ # Do not check annotation internals
+ if name in ("__annotations_cache__", "__annotate_func__"):
+ continue
assert hasattr(self.FrozenList, name)
def test_ctor_default(self) -> None: