1
0

Compare commits

8 Commits

Author SHA256 Message Date
6eae986fbd Accepting request 1320223 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1320223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZConfig?expand=0&rev=15
2025-11-26 17:51:11 +00:00
224c533762 - Update to 4.3
* Add support for Python 3.14.
  * Drop support for Python 3.9.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZConfig?expand=0&rev=29
2025-11-26 16:30:23 +00:00
db64c695bf Accepting request 1264856 from devel:languages:python
- Normalize metadata directory name.

Requires python-setuptools 78 to build successfully.

OBS-URL: https://build.opensuse.org/request/show/1264856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZConfig?expand=0&rev=14
2025-04-16 18:38:46 +00:00
faf147ecb7 - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZConfig?expand=0&rev=27
2025-03-26 01:49:58 +00:00
1a9cd8e391 Accepting request 1239258 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZConfig?expand=0&rev=13
2025-01-21 20:11:04 +00:00
acbcecb47e - Update to 4.2
* Drop support for Python 3.7, 3.8.
  * Add support for Python 3.13.
- Drop py313.patch, merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZConfig?expand=0&rev=25
2025-01-21 12:14:37 +00:00
7de4297a20 Accepting request 1218884 from devel:languages:python
- update to 4.1:
  * Add support for Python 3.12.
- drop support-python-312.patch (upstream)
- add py313.patch: fix test failures with 3.13

  * Drop support for Python 2.6 and 3.2 and add support for
  * BaseLoader is now an abstract class that cannot be
  * Allow nan, inf and -inf values for floats in configurations.
  * Scripts zconfig (for schema validation) and
  * A new ZConfig.sphinx Sphinx extension facilitates
    automatically documenting ZConfig components using their
    description and examples in Sphinx documentation. See
  * Simplify internal schema processing of max and min
  * Almost all uses of type as a parameter name have been
    replaced with type_ to avoid shadowing a builtin. These were
  * Add ability to do variable substitution from environment

OBS-URL: https://build.opensuse.org/request/show/1218884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZConfig?expand=0&rev=12
2024-10-29 13:35:34 +00:00
eed39f6a4a - update to 4.1:
* Add support for Python 3.12.
- drop support-python-312.patch (upstream)
- add py313.patch: fix test failures with 3.13
  * Drop support for Python 2.6 and 3.2 and add support for
  * BaseLoader is now an abstract class that cannot be
  * Allow nan, inf and -inf values for floats in configurations.
  * Scripts zconfig (for schema validation) and
  * A new ZConfig.sphinx Sphinx extension facilitates
    automatically documenting ZConfig components using their
    description and examples in Sphinx documentation. See
  * Simplify internal schema processing of max and min
  * Almost all uses of type as a parameter name have been
    replaced with type_ to avoid shadowing a builtin. These were
  * Add ability to do variable substitution from environment

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZConfig?expand=0&rev=23
2024-10-28 22:21:36 +00:00
5 changed files with 48 additions and 59 deletions

View File

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

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Wed Nov 26 13:26:51 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.3
* Add support for Python 3.14.
* Drop support for Python 3.9.
-------------------------------------------------------------------
Wed Mar 26 01:49:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Lowercase metadata directory name.
-------------------------------------------------------------------
Tue Jan 21 12:02:37 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.2
* Drop support for Python 3.7, 3.8.
* Add support for Python 3.13.
- Drop py313.patch, merged upstream
-------------------------------------------------------------------
Mon Oct 28 22:21:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.1:
* Add support for Python 3.12.
- drop support-python-312.patch (upstream)
- add py313.patch: fix test failures with 3.13
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 25 01:42:28 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com> Mon Mar 25 01:42:28 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
@@ -62,31 +90,31 @@ Mon Mar 4 12:24:46 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
Fri Jun 23 13:35:29 UTC 2017 - aloisio@gmx.com Fri Jun 23 13:35:29 UTC 2017 - aloisio@gmx.com
- Update to 3.2.0 - Update to 3.2.0
* Drop support for Python 2.6 and 3.2 and add support for * Drop support for Python 2.6 and 3.2 and add support for
Python 3.6. Python 3.6.
* Run tests with pypy and pypy3 as well. * Run tests with pypy and pypy3 as well.
* Host docs at https://zconfig.readthedocs.io * Host docs at https://zconfig.readthedocs.io
* BaseLoader is now an abstract class that cannot be * BaseLoader is now an abstract class that cannot be
instantiated. instantiated.
* Allow nan, inf and -inf values for floats in configurations. * Allow nan, inf and -inf values for floats in configurations.
See https://github.com/zopefoundation/ZConfig/issues/16. See https://github.com/zopefoundation/ZConfig/issues/16.
* Scripts zconfig (for schema validation) and * Scripts zconfig (for schema validation) and
zconfig_schema2html are ported to Python 3. zconfig_schema2html are ported to Python 3.
* A new ZConfig.sphinx Sphinx extension facilitates * A new ZConfig.sphinx Sphinx extension facilitates
automatically documenting ZConfig components using their automatically documenting ZConfig components using their
description and examples in Sphinx documentation. See description and examples in Sphinx documentation. See
https://github.com/zopefoundation/ZConfig/pull/25. https://github.com/zopefoundation/ZConfig/pull/25.
* Simplify internal schema processing of max and min * Simplify internal schema processing of max and min
occurrence values. See occurrence values. See
https://github.com/zopefoundation/ZConfig/issues/15. https://github.com/zopefoundation/ZConfig/issues/15.
* Almost all uses of type as a parameter name have been * Almost all uses of type as a parameter name have been
replaced with type_ to avoid shadowing a builtin. These were replaced with type_ to avoid shadowing a builtin. These were
typically not public APIs and werent expected to be called typically not public APIs and werent expected to be called
with keyword arguments so there should not be any with keyword arguments so there should not be any
user-visible changes. user-visible changes.
See https://github.com/zopefoundation/ZConfig/issues/17 See https://github.com/zopefoundation/ZConfig/issues/17
3.1.0: 3.1.0:
* Add ability to do variable substitution from environment * Add ability to do variable substitution from environment
variables using $() syntax. variables using $() syntax.
- Converted to single-spec - Converted to single-spec

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-ZConfig # spec file for package python-ZConfig
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,13 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-ZConfig Name: python-ZConfig
Version: 4.0 Version: 4.3
Release: 0 Release: 0
Summary: Structured Configuration Library Summary: Structured Configuration Library
License: ZPL-2.1 License: ZPL-2.1
URL: https://github.com/zopefoundation/ZConfig URL: https://github.com/zopefoundation/ZConfig
Source: https://files.pythonhosted.org/packages/source/Z/ZConfig/ZConfig-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/Z/ZConfig/zconfig-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#zopefoundation/ZConfig#91 BuildRequires: %{python_module base >= 3.10}
Patch0: support-python-312.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module docutils} BuildRequires: %{python_module docutils}
BuildRequires: %{python_module manuel} BuildRequires: %{python_module manuel}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
@@ -64,7 +62,7 @@ Requires: %{name} = %{version}
This package contains documentation files for %{name}. This package contains documentation files for %{name}.
%prep %prep
%autosetup -p1 -n ZConfig-%{version} %autosetup -p1 -n zconfig-%{version}
rm -rf ZConfig.egg-info rm -rf ZConfig.egg-info
rm docs/make.bat rm docs/make.bat
# test works only in git repo # test works only in git repo
@@ -95,7 +93,7 @@ export LANG=en_US.UTF8
%python_alternative %{_bindir}/zconfig %python_alternative %{_bindir}/zconfig
%python_alternative %{_bindir}/zconfig_schema2html %python_alternative %{_bindir}/zconfig_schema2html
%{python_sitelib}/ZConfig %{python_sitelib}/ZConfig
%{python_sitelib}/ZConfig-%{version}.dist-info %{python_sitelib}/zconfig-%{version}.dist-info
%files %{python_files doc} %files %{python_files doc}
%doc docs/ %doc docs/

View File

@@ -1,37 +0,0 @@
From f5af2333db607f612f21ab0d4efd35b5cc72199b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20Van=C4=9Bk?= <arkamar@atlas.cz>
Date: Tue, 6 Jun 2023 08:52:08 +0200
Subject: [PATCH] Fix tests for Python 3.12
In the tests, remove the assertRaisesRegexp method, deprecated since
Python 3.2, to prevent test failures following the method's removal in
Python 3.12.
---
src/ZConfig/tests/support.py | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/ZConfig/tests/support.py b/src/ZConfig/tests/support.py
index 959f2b9..559c015 100644
--- a/src/ZConfig/tests/support.py
+++ b/src/ZConfig/tests/support.py
@@ -17,7 +17,6 @@
import contextlib
import os
import sys
-import unittest
from io import StringIO
from urllib.request import pathname2url
@@ -79,12 +78,6 @@ def f2(self):
class TestHelper:
"""Utility methods which can be used with the schema support."""
- # Not derived from unittest.TestCase; some test runners seem to
- # think that means this class contains tests.
-
- assertRaisesRegex = getattr(unittest.TestCase, 'assertRaisesRegex',
- unittest.TestCase.assertRaisesRegexp)
-
def load_both(self, schema_url, conf_url):
schema = self.load_schema(schema_url)
conf = self.load_config(schema, conf_url)

3
zconfig-4.3.tar.gz Normal file
View File

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