14
0

Accepting request 1299158 from devel:languages:python

- Update to 4.10.0 (actually fixes CVE-2025-48945, bsc#1244691)
  * Remove unused import by @saghul in #240
  * Fixup chunked TXT record test by @saghul in #242
  * Remove overzealous checks by @saghul in #241
  * Fix OpenBSD build by @saghul in #243
  * Make result.type Final by @Dreamsorcerer in #246
  * Idna resource reduction using a length check by @Vizonex in #247
  * Add read & write process_fd functions by @Vizonex in #245
  * build(deps): bump pypa/cibuildwheel from 2.23.3 to 3.0.0
    by @dependabot[bot] in #244
  * Remove context manager support by @saghul in #252
  * Fixup test CI by @saghul in #254
  * Refactor channel destruction logic by @saghul in #253
- use system c-ares instead of bundled version
- add python-pycares.rpmlintrc to ignore false positive of using
  gethostbyname.

OBS-URL: https://build.opensuse.org/request/show/1299158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycares?expand=0&rev=15
This commit is contained in:
2025-08-14 09:36:06 +00:00
committed by Git OBS Bridge
5 changed files with 29 additions and 6 deletions

3
pycares-4.10.0.tar.gz Normal file
View File

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

BIN
pycares-4.9.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Aug 8 12:39:36 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Update to 4.10.0 (actually fixes CVE-2025-48945, bsc#1244691)
* Remove unused import by @saghul in #240
* Fixup chunked TXT record test by @saghul in #242
* Remove overzealous checks by @saghul in #241
* Fix OpenBSD build by @saghul in #243
* Make result.type Final by @Dreamsorcerer in #246
* Idna resource reduction using a length check by @Vizonex in #247
* Add read & write process_fd functions by @Vizonex in #245
* build(deps): bump pypa/cibuildwheel from 2.23.3 to 3.0.0
by @dependabot[bot] in #244
* Remove context manager support by @saghul in #252
* Fixup test CI by @saghul in #254
* Refactor channel destruction logic by @saghul in #253
- use system c-ares instead of bundled version
- add python-pycares.rpmlintrc to ignore false positive of using
gethostbyname.
-------------------------------------------------------------------
Wed Jun 18 12:58:39 UTC 2025 - Nico Krapp <nico.krapp@suse.com>

1
python-pycares.rpmlintrc Normal file
View File

@@ -0,0 +1 @@
addFilter("binary-or-shlib-calls-gethostbyname")

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycares
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 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,13 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-pycares
Version: 4.9.0
Version: 4.10.0
Release: 0
Summary: Python interface for c-ares
License: MIT
Group: Development/Languages/Python
URL: https://github.com/saghul/pycares
Source: https://files.pythonhosted.org/packages/source/p/pycares/pycares-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/p/pycares/pycares-%{version}.tar.gz
Source99: python-pycares.rpmlintrc
# PATCH-FIX-UPSTREAM cleanup_tests.patch bsc#[0-9]+ mcepl@suse.com
# Make the test suite slightly more normal
Patch0: cleanup_tests.patch
@@ -50,6 +51,7 @@ resolutions asynchronously
%autosetup -p1 -n pycares-%{version}
%build
export PYCARES_USE_SYSTEM_LIB=1
%pyproject_wheel
%install