2 Commits

Author SHA256 Message Date
a66d30dfcf Accepting request 1305052 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1305052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lexicon?expand=0&rev=9
2025-09-17 14:37:05 +00:00
df6a9d3742 - Update to version 3.0.0:
- Dropped support for Python <3.9
 - Modernized project metadata re: Python interpreters, development
   dependencies, etc.
- Remove obsolete support-pytest-8.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lexicon?expand=0&rev=16
2025-09-08 21:10:21 +00:00
5 changed files with 16 additions and 30 deletions

Binary file not shown.

3
lexicon-3.0.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 8 21:03:44 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
- Update to version 3.0.0:
- Dropped support for Python <3.9
- Modernized project metadata re: Python interpreters, development
dependencies, etc.
- Remove obsolete support-pytest-8.patch
-------------------------------------------------------------------
Tue May 14 02:07:51 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
@@ -59,7 +68,7 @@ Sun Mar 4 09:23:34 UTC 2018 - jengelh@inai.de
- Update descriptions.
-------------------------------------------------------------------
Sat Mar 3 10:38:55 UTC 2018 - sebix+novell.com@sebix.at
Sat Mar 3 10:38:55 UTC 2018 - sebix@sebix.at
- initial package for version 1.0.0
- add add_test_init.patch to fix execution of tests

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-lexicon
#
# Copyright (c) 2024 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,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-lexicon
Version: 2.0.1
Version: 3.0.0
Release: 0
Summary: Python dict subclass(es) with aliasing and attribute access
License: BSD-2-Clause
@@ -26,8 +26,7 @@ URL: https://github.com/bitprophet/lexicon
Source: https://files.pythonhosted.org/packages/source/l/lexicon/lexicon-%{version}.tar.gz
# PATCH-FIX-UPSTREAM (sort of) Not in the sdist, but on GitHub
Patch0: add-pytest-ini.patch
# PATCH-FIX-OPENSUSE Support pytest >= 8
Patch1: support-pytest-8.patch
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}

View File

@@ -1,22 +0,0 @@
Index: lexicon-2.0.1/tests/alias_dict.py
===================================================================
--- lexicon-2.0.1.orig/tests/alias_dict.py
+++ lexicon-2.0.1/tests/alias_dict.py
@@ -36,7 +36,7 @@ class AliasDict_:
ad.unalias("lol no")
class aliases_of:
- def setup(self):
+ def setup_method(self):
self.ad = AliasDict()
def returns_list_of_aliases_for_given_real_key(self):
@@ -162,7 +162,7 @@ class AliasDict_:
class aliases_are_not_real_keys:
"aliases are not real keys"
- def setup(self):
+ def setup_method(self):
self.a = AliasDict({"key1": "val1", "key2": "val2"})
self.a.alias("myalias", "key1")