Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-CacheControl for
openSUSE:Factory checked in at 2025-05-07 19:14:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-CacheControl (Old)
and /work/SRC/openSUSE:Factory/.python-CacheControl.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-CacheControl"
Wed May 7 19:14:54 2025 rev:18 rq:1274887 version:0.14.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-CacheControl/python-CacheControl.changes
2025-01-24 13:39:12.887709433 +0100
+++
/work/SRC/openSUSE:Factory/.python-CacheControl.new.30101/python-CacheControl.changes
2025-05-07 19:15:27.804696014 +0200
@@ -1,0 +2,7 @@
+Tue May 6 08:53:17 UTC 2025 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Update to 0.14.3
+ * Drop support for Python 3.8.
+- Update BuildRequires from pyproject.toml
+
+-------------------------------------------------------------------
Old:
----
cachecontrol-0.14.2.tar.gz
New:
----
cachecontrol-0.14.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-CacheControl.spec ++++++
--- /var/tmp/diff_new_pack.gMFFgL/_old 2025-05-07 19:15:28.360719208 +0200
+++ /var/tmp/diff_new_pack.gMFFgL/_new 2025-05-07 19:15:28.364719375 +0200
@@ -18,14 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-CacheControl
-Version: 0.14.2
+Version: 0.14.3
Release: 0
Summary: Caching library for Python requests
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/psf/cachecontrol
Source:
https://github.com/psf/cachecontrol/archive/v%{version}.tar.gz#/cachecontrol-%{version}.tar.gz
-BuildRequires: %{python_module flit-core >= 3.2}
+BuildRequires: %{python_module flit-core >= 3.11}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
++++++ cachecontrol-0.14.2.tar.gz -> cachecontrol-0.14.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cachecontrol-0.14.2/.github/workflows/release.yml
new/cachecontrol-0.14.3/.github/workflows/release.yml
--- old/cachecontrol-0.14.2/.github/workflows/release.yml 2025-01-07
16:47:06.000000000 +0100
+++ new/cachecontrol-0.14.3/.github/workflows/release.yml 2025-04-30
18:43:44.000000000 +0200
@@ -5,6 +5,8 @@
name: release
+permissions: {}
+
jobs:
pypi:
name: upload release to PyPI
@@ -19,13 +21,13 @@
contents: write
steps:
- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 #
v5.6.0
with:
- python-version: "3.x"
+ python-version-file: pyproject.toml
- name: deps
run: python -m pip install -U build
@@ -34,5 +36,5 @@
run: python -m build
- name: publish
- uses:
pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 #
release/v1
+ uses:
pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cachecontrol-0.14.2/.github/workflows/tests.yml
new/cachecontrol-0.14.3/.github/workflows/tests.yml
--- old/cachecontrol-0.14.2/.github/workflows/tests.yml 2025-01-07
16:47:06.000000000 +0100
+++ new/cachecontrol-0.14.3/.github/workflows/tests.yml 2025-04-30
18:43:44.000000000 +0200
@@ -8,6 +8,8 @@
branches: ["master"]
workflow_dispatch:
+permissions: {}
+
jobs:
tests:
name: "Python ${{ matrix.python-version }} ${{ matrix.os }}"
@@ -16,15 +18,15 @@
strategy:
fail-fast: false
matrix:
- python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
+ python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
os: ["macos-latest", "windows-latest", "ubuntu-latest"]
steps:
- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #
v4.2.2
with:
persist-credentials: false
- - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b #
v5
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 #
v5.6.0
with:
python-version: "${{ matrix.python-version }}"
allow-prereleases: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cachecontrol-0.14.2/.github/workflows/zizmor.yml
new/cachecontrol-0.14.3/.github/workflows/zizmor.yml
--- old/cachecontrol-0.14.2/.github/workflows/zizmor.yml 2025-01-07
16:47:06.000000000 +0100
+++ new/cachecontrol-0.14.3/.github/workflows/zizmor.yml 2025-04-30
18:43:44.000000000 +0200
@@ -6,6 +6,8 @@
pull_request:
branches: ["**"]
+permissions: {}
+
jobs:
zizmor:
name: zizmor latest via PyPI
@@ -17,12 +19,12 @@
actions: read
steps:
- name: Checkout repository
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #
v4.2.2
with:
persist-credentials: false
- name: Install the latest version of uv
- uses: astral-sh/setup-uv@887a942a15af3a7626099df99e897a18d9e5ab3a # v4
+ uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca #
v6.0.1
- name: Run zizmor 🌈
run: uvx zizmor --format sarif . > results.sarif
@@ -30,7 +32,7 @@
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload SARIF file
- uses:
github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3
+ uses:
github/codeql-action/upload-sarif@28deaeda66b76a05916b6923827895f2b14ab387 #
v3.28.16
with:
sarif_file: results.sarif
category: zizmor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cachecontrol-0.14.2/cachecontrol/__init__.py
new/cachecontrol-0.14.3/cachecontrol/__init__.py
--- old/cachecontrol-0.14.2/cachecontrol/__init__.py 2025-01-07
16:47:06.000000000 +0100
+++ new/cachecontrol-0.14.3/cachecontrol/__init__.py 2025-04-30
18:43:44.000000000 +0200
@@ -9,7 +9,7 @@
__author__ = "Eric Larson"
__email__ = "[email protected]"
-__version__ = "0.14.2"
+__version__ = "0.14.3"
from cachecontrol.adapter import CacheControlAdapter
from cachecontrol.controller import CacheController
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cachecontrol-0.14.2/docs/release_notes.rst
new/cachecontrol-0.14.3/docs/release_notes.rst
--- old/cachecontrol-0.14.2/docs/release_notes.rst 2025-01-07
16:47:06.000000000 +0100
+++ new/cachecontrol-0.14.3/docs/release_notes.rst 2025-04-30
18:43:44.000000000 +0200
@@ -7,6 +7,11 @@
Release Notes
===============
+0.14.3
+======
+
+* Drop support for Python 3.8.
+
0.14.2
======
@@ -16,7 +21,6 @@
0.14.1
======
-* Drop support for Python 3.8.
* Explicitly support Python 3.13.
0.14.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cachecontrol-0.14.2/pyproject.toml
new/cachecontrol-0.14.3/pyproject.toml
--- old/cachecontrol-0.14.2/pyproject.toml 2025-01-07 16:47:06.000000000
+0100
+++ new/cachecontrol-0.14.3/pyproject.toml 2025-04-30 18:43:44.000000000
+0200
@@ -1,5 +1,5 @@
[build-system]
-requires = ["flit_core >=3.2,<4"]
+requires = ["flit_core >=3.11,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.module]
@@ -13,7 +13,8 @@
dynamic = ["version"]
description = "httplib2 caching for requests"
readme = "README.rst"
-license = { file = "LICENSE.txt" }
+license = "Apache-2.0"
+license-files = ["LICENSE.txt"]
authors = [
{ name = "Eric Larson", email = "[email protected]" },
{ name = "Frost Ming", email = "[email protected]" },
@@ -22,9 +23,7 @@
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
- "License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
- "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
@@ -34,7 +33,7 @@
]
keywords = ["requests", "http", "caching", "web"]
dependencies = ["requests >= 2.16.0", "msgpack >= 0.5.2, < 2.0.0"]
-requires-python = ">=3.8"
+requires-python = ">=3.9"
[project.urls]
Homepage = "https://pypi.org/project/CacheControl/"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cachecontrol-0.14.2/tests/test_adapter.py
new/cachecontrol-0.14.3/tests/test_adapter.py
--- old/cachecontrol-0.14.2/tests/test_adapter.py 2025-01-07
16:47:06.000000000 +0100
+++ new/cachecontrol-0.14.3/tests/test_adapter.py 2025-04-30
18:43:44.000000000 +0200
@@ -3,6 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
import gc
+import platform
import weakref
from unittest import mock
@@ -82,6 +83,12 @@
# We should not break this.
resp = None
+ if platform.python_implementation() == "PyPy":
+ # NOTE: Need to explicitly tell PyPy to collect at this point.
+ # See: https://github.com/psf/cachecontrol/issues/351
+ # See:
https://doc.pypy.org/en/latest/cpython_differences.html#differences-related-to-garbage-collection-strategies
+ gc.collect()
+
# Below this point, it should be closed because there are no more
references
# to the session response.