forked from pool/python-ZConfig
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6eae986fbd | |||
| 224c533762 | |||
| db64c695bf | |||
| faf147ecb7 | |||
| 1a9cd8e391 | |||
| acbcecb47e | |||
| 7de4297a20 | |||
| eed39f6a4a |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f8d642fba6ba98d08631be2c1f71ad1957c051fef4aa3d3fb9f1e08dc61d0156
|
||||
size 126072
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,15 +18,13 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-ZConfig
|
||||
Version: 4.0
|
||||
Version: 4.3
|
||||
Release: 0
|
||||
Summary: Structured Configuration Library
|
||||
License: ZPL-2.1
|
||||
URL: https://github.com/zopefoundation/ZConfig
|
||||
Source: https://files.pythonhosted.org/packages/source/Z/ZConfig/ZConfig-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM gh#zopefoundation/ZConfig#91
|
||||
Patch0: support-python-312.patch
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
Source: https://files.pythonhosted.org/packages/source/Z/ZConfig/zconfig-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.10}
|
||||
BuildRequires: %{python_module docutils}
|
||||
BuildRequires: %{python_module manuel}
|
||||
BuildRequires: %{python_module pip}
|
||||
@@ -64,7 +62,7 @@ Requires: %{name} = %{version}
|
||||
This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n ZConfig-%{version}
|
||||
%autosetup -p1 -n zconfig-%{version}
|
||||
rm -rf ZConfig.egg-info
|
||||
rm docs/make.bat
|
||||
# test works only in git repo
|
||||
@@ -95,7 +93,7 @@ export LANG=en_US.UTF8
|
||||
%python_alternative %{_bindir}/zconfig
|
||||
%python_alternative %{_bindir}/zconfig_schema2html
|
||||
%{python_sitelib}/ZConfig
|
||||
%{python_sitelib}/ZConfig-%{version}.dist-info
|
||||
%{python_sitelib}/zconfig-%{version}.dist-info
|
||||
|
||||
%files %{python_files doc}
|
||||
%doc docs/
|
||||
|
||||
@@ -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
3
zconfig-4.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:472233e515fa29be6c873e78b8a2b450c2cd25d0133cb45960837f33f1ab4fe3
|
||||
size 128126
|
||||
Reference in New Issue
Block a user