1
0

12 Commits

Author SHA256 Message Date
2376b7a1ef 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
2025-08-14 09:36:06 +00:00
e507b4114f - add python-pycares.rpmlintrc to ignore false positive of using
gethostbyname.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycares?expand=0&rev=33
2025-08-12 23:06:28 +00:00
2dc3850b23 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycares?expand=0&rev=32
2025-08-12 22:09:12 +00:00
00a51cf6cf Accepting request 1286872 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1286872
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycares?expand=0&rev=14
2025-07-08 13:28:08 +00:00
da6d591cab Accepting request 1286711 from home:nkrapp:branches:devel:languages:python
- Update to 4.9.0 (fixes CVE-2025-48945, bsc#1244691)
  * Create dependabot configuration by @bdraco in #226
  * build(deps): bump pypa/cibuildwheel from 2.22.0 to 2.23.3
    by @dependabot in #227
  * Pin Python version to 3.13.3 to avoid Windows build error by @saghul in #235
  * Fix shutdown race by @bdraco in #236
  * Add support for windows arm64 by @finnagin in #233
- Update to 4.8.0
  * Cancel previous CI jobs on pull request update by @bdraco in #222
  * Update bundled c-ares to v1.34.5 by @bdraco in #221
  * Add ARES_FLAG_NO_DFLT_SVR and ARES_FLAG_EDNS to API by @bdraco in #224
- Update to 4.7.0
  * Update c-ares to 1.29.0 to add reinit support to Channel by @bdraco in #219
  * Add event thread support by @bdraco in #220

OBS-URL: https://build.opensuse.org/request/show/1286711
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycares?expand=0&rev=30
2025-06-19 09:06:24 +00:00
c716898cc4 Accepting request 1273211 from devel:languages:python
- update to 4.6.1:
  * Fix missing attribute type information for errno

OBS-URL: https://build.opensuse.org/request/show/1273211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycares?expand=0&rev=13
2025-04-30 17:02:26 +00:00
fac8a0c0a8 - update to 4.6.1:
* Fix missing attribute type information for errno

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycares?expand=0&rev=28
2025-04-28 16:43:15 +00:00
51012ae7ec Accepting request 1268555 from devel:languages:python
- Clean up the SPEC file.
- Update to 4.6.0
  * Swap out is_all_ascii for built-in str.isascii by @bdraco in (#209)
  * Fixup tests by @saghul in (#214)
  * Add initial type annotations by @Dreamsorcerer in (#212)
  * Fix module has no attribute type errors by @Dreamsorcerer in (#211)

OBS-URL: https://build.opensuse.org/request/show/1268555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycares?expand=0&rev=12
2025-04-14 10:55:20 +00:00
6ffee7b7f1 - Clean up the SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycares?expand=0&rev=26
2025-04-11 07:20:00 +00:00
3b61f4b1ef - Update to 4.6.0
* Swap out is_all_ascii for built-in str.isascii by @bdraco in (#209)
  * Fixup tests by @saghul in (#214)
  * Add initial type annotations by @Dreamsorcerer in (#212)
  * Fix module has no attribute type errors by @Dreamsorcerer in (#211)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycares?expand=0&rev=25
2025-04-11 07:14:12 +00:00
7157baa70b Accepting request 1236862 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1236862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycares?expand=0&rev=11
2025-01-12 10:08:49 +00:00
10dce554a1 - Update to 4.5.0
* Test data updates to fix test failures
  * Update test_idna_encoding_query_a with
    new errno to align to new c-ares version
  * Do not define HAVE_GETSERVBYPORT_R for
    platforms Android, Cygwin, Darwin
  * Drop distutils
  * build(deps): bump actions/download-artifact
    from 3 to 4.1.7 in /.github/workflows
  * Add 3.13 support, remove 3.8
  * chore(ci): fix upload & add more platforms to cibuildwheel
  * Test building release wheels on PRs
  * Fix building sdist
  * Fixup CI

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycares?expand=0&rev=23
2025-01-10 13:00:45 +00:00
5 changed files with 91 additions and 13 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.4.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +1,79 @@
-------------------------------------------------------------------
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>
- Update to 4.9.0 (fixes CVE-2025-48945, bsc#1244691)
* Create dependabot configuration by @bdraco in #226
* build(deps): bump pypa/cibuildwheel from 2.22.0 to 2.23.3
by @dependabot in #227
* Pin Python version to 3.13.3 to avoid Windows build error by @saghul in #235
* Fix shutdown race by @bdraco in #236
* Add support for windows arm64 by @finnagin in #233
- Update to 4.8.0
* Cancel previous CI jobs on pull request update by @bdraco in #222
* Update bundled c-ares to v1.34.5 by @bdraco in #221
* Add ARES_FLAG_NO_DFLT_SVR and ARES_FLAG_EDNS to API by @bdraco in #224
- Update to 4.7.0
* Update c-ares to 1.29.0 to add reinit support to Channel by @bdraco in #219
* Add event thread support by @bdraco in #220
-------------------------------------------------------------------
Mon Apr 28 16:43:05 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 4.6.1:
* Fix missing attribute type information for errno
-------------------------------------------------------------------
Fri Apr 11 07:18:09 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Clean up the SPEC file.
-------------------------------------------------------------------
Thu Apr 10 12:28:57 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.6.0
* Swap out is_all_ascii for built-in str.isascii by @bdraco in (#209)
* Fixup tests by @saghul in (#214)
* Add initial type annotations by @Dreamsorcerer in (#212)
* Fix module has no attribute type errors by @Dreamsorcerer in (#211)
-------------------------------------------------------------------
Fri Jan 10 09:20:14 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.5.0
* Test data updates to fix test failures
* Update test_idna_encoding_query_a with
new errno to align to new c-ares version
* Do not define HAVE_GETSERVBYPORT_R for
platforms Android, Cygwin, Darwin
* Drop distutils
* build(deps): bump actions/download-artifact
from 3 to 4.1.7 in /.github/workflows
* Add 3.13 support, remove 3.8
* chore(ci): fix upload & add more platforms to cibuildwheel
* Test building release wheels on PRs
* Fix building sdist
* Fixup CI
-------------------------------------------------------------------
Mon Dec 11 08:24:45 UTC 2023 - Dirk Müller <dmueller@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) 2023 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
@@ -16,23 +16,24 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-pycares
Version: 4.4.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
BuildRequires: %{python_module cffi}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: c-ares-devel
BuildRequires: fdupes
BuildRequires: gcc
@@ -49,13 +50,12 @@ resolutions asynchronously
%prep
%autosetup -p1 -n pycares-%{version}
rm -Rf
%build
%python_build
export PYCARES_USE_SYSTEM_LIB=1
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@@ -66,6 +66,7 @@ rm -Rf
%files %{python_files}
%license LICENSE
%doc ChangeLog README.rst
%{python_sitearch}/*
%{python_sitearch}/pycares
%{python_sitearch}/pycares-%{version}*-info
%changelog