Sync from SUSE:SLFO:Main python-traitlets revision 8ce130f36f105d0988a109c83cfe237c

This commit is contained in:
Adrian Schröter 2024-12-13 12:32:03 +01:00
parent 66a1f001c0
commit 7c00cc7a83
4 changed files with 67 additions and 12 deletions

View File

@ -1,3 +1,56 @@
-------------------------------------------------------------------
Sat Oct 5 21:34:51 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Skip test_complete_custom_completers test because it is failing
with 3.12.7 (gh#ipython/traitlets#911).
-------------------------------------------------------------------
Mon May 20 05:50:43 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update 5.14.3:
* Fix assigning string value to Set #903
- Remove upper bound from pytest, it works.
-------------------------------------------------------------------
Fri Mar 29 19:09:27 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 5.14.2
* Maintenance and upkeep improvements
-------------------------------------------------------------------
Sun Jan 21 11:33:29 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 5.14.1
* FIX: map - to _ for environement variable prefix. #895
(@Carreau)
-------------------------------------------------------------------
Thu Dec 28 16:09:18 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 5.14.0
* Add option to load traitlets values from environment. #856
(@Carreau)
- Release 5.13.0
* Use passed-in info argument for TraitType.error() #884
(@kylebarron)
- Release 5.12.0
* Pass **kwds in MetaHasDescriptors new and init #881
(@fleming79)
-------------------------------------------------------------------
Sat Oct 7 13:37:09 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 5.11.2
- Multiple typing upgrades and fix releases since 5.10.0
-------------------------------------------------------------------
Sun Sep 24 18:19:30 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 5.10.0
* Added type hints to HasTraits.observe() and friends. #834
(@scholer)
* feat: trait typing #818 (@maartenbreddels)
-------------------------------------------------------------------
Fri Apr 21 12:37:53 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-traitlets
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,19 +18,19 @@
%{?sle15_python_module_pythons}
Name: python-traitlets
Version: 5.9.0
Version: 5.14.3
Release: 0
Summary: Traitlets Python configuration system
License: BSD-3-Clause
URL: https://github.com/ipython/traitlets
Source: https://files.pythonhosted.org/packages/source/t/traitlets/traitlets-%{version}.tar.gz
Source99: python-traitlets.rpmlintrc
BuildRequires: %{python_module argcomplete >= 2.0}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module argcomplete >= 3.0.3}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatchling >= 1.5}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 7}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@ -41,7 +41,7 @@ A configuration system for Python applications.
%prep
%autosetup -p1 -n traitlets-%{version}
sed -i 's/--color yes//' pyproject.toml
sed -i 's/"--color=yes",//' pyproject.toml
%build
%pyproject_wheel
@ -51,13 +51,15 @@ sed -i 's/--color yes//' pyproject.toml
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# no mypy testing in Ring1
# skip test_complete_custom_completers because of gh#ipython/traitlets#911
%pytest --ignore tests/test_typing.py -k 'not test_complete_custom_completers'
%files %{python_files}
%doc README.md
%doc examples/
%license COPYING.md
%license LICENSE
%{python_sitelib}/traitlets/
%{python_sitelib}/traitlets-%{version}*-info
%{python_sitelib}/traitlets-%{version}.dist-info
%changelog

BIN
traitlets-5.14.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
traitlets-5.9.0.tar.gz (Stored with Git LFS)

Binary file not shown.