14
0

- Skip two broken tests under Python 3.14.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typing-inspect?expand=0&rev=13
This commit is contained in:
2025-09-16 04:27:13 +00:00
committed by Git OBS Bridge
commit 2fc5aec0bb
5 changed files with 143 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,49 @@
-------------------------------------------------------------------
Tue Sep 16 04:26:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Skip two broken tests under Python 3.14.
-------------------------------------------------------------------
Wed Jun 4 06:15:26 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Sun Aug 13 21:39:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.9.0:
* Fix with new version of typing_extensions
* Handle non-indexed generics
-------------------------------------------------------------------
Fri Apr 21 12:38:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:45:39 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Sat Jan 7 16:17:47 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.8.0:
* Python 3.9 support
* support PEO 591
* Require newer typing extension
* Python 3.10 support
* Add support for UnionType in get_args
- drop typing_inspect-pr69-py39-GenericAlias.patch (upstream)
-------------------------------------------------------------------
Sun Mar 21 13:52:12 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Add typing_inspect-pr69-py39-GenericAlias.patch to support
Python 3.9 -- gh#ilevkivskyi/typing_inspect#69
-------------------------------------------------------------------
Sat Jul 4 03:54:20 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v0.6.0

View File

@@ -0,0 +1,67 @@
#
# spec file for package python-typing-inspect
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-typing-inspect
Version: 0.9.0
Release: 0
Summary: Python runtime inspection utilities for typing
License: MIT
URL: https://github.com/ilevkivskyi/typing_inspect
Source: https://files.pythonhosted.org/packages/source/t/typing_inspect/typing_inspect-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-mypy_extensions >= 0.3.0
Requires: python-typing_extensions >= 3.7.4
Suggests: python-typing >= 3.7.4
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mypy_extensions >= 0.3.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module typing_extensions >= 3.7.4}
# /SECTION
%python_subpackages
%description
Python runtime inspection utilities for typing module.
%prep
%autosetup -p1 -n typing_inspect-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# https://github.com/ilevkivskyi/typing_inspect/issues/108
%pytest -k 'not (test_parameters or test_typed_dict_mypy_extension)'
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/typing_inspect.py
%pycache_only %{python_sitelib}/__pycache__/typing_inspect.*.pyc
%{python_sitelib}/typing_inspect-%{version}.dist-info
%changelog

BIN
typing_inspect-0.9.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.