diff --git a/python-traitlets.changes b/python-traitlets.changes index 9461cc2..f0e4a8f 100644 --- a/python-traitlets.changes +++ b/python-traitlets.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Sat Oct 5 21:34:51 UTC 2024 - Matej Cepl + +- 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 + +- 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 + +- Update to 5.14.2 + * Maintenance and upkeep improvements + +------------------------------------------------------------------- +Sun Jan 21 11:33:29 UTC 2024 - Ben Greiner + +- Update to 5.14.1 + * FIX: map - to _ for environement variable prefix. #895 + (@Carreau) + +------------------------------------------------------------------- +Thu Dec 28 16:09:18 UTC 2023 - Ben Greiner + +- 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 + +- 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 + +- 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 diff --git a/python-traitlets.spec b/python-traitlets.spec index a8aaf60..69bd34d 100644 --- a/python-traitlets.spec +++ b/python-traitlets.spec @@ -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 diff --git a/traitlets-5.14.3.tar.gz b/traitlets-5.14.3.tar.gz new file mode 100644 index 0000000..7ecbb91 --- /dev/null +++ b/traitlets-5.14.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ed0579d3502c94b4b3732ac120375cda96f923114522847de4b3bb98b96b6b7 +size 161621 diff --git a/traitlets-5.9.0.tar.gz b/traitlets-5.9.0.tar.gz deleted file mode 100644 index 82b773a..0000000 --- a/traitlets-5.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f6cde21a9c68cf756af02035f72d5a723bf607e862e7be33ece505abf4a3bad9 -size 150207