Accepting request 980913 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/980913 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-traitlets?expand=0&rev=10
This commit is contained in:
commit
7376d7111a
@ -1,3 +1,38 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 5 16:53:54 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 5.2.2
|
||||||
|
* Make all explicit and validate in test by @blink1073 in #737
|
||||||
|
* Fix KeyError in Application.get_default_logging_config by
|
||||||
|
@tonyroberts in #724
|
||||||
|
- Release 5.2.1
|
||||||
|
* Switch to hatch backend by @blink1073 in #728
|
||||||
|
* logging: don't attempt to close handlers unless they have been
|
||||||
|
opened by @oliver-sanders in #727
|
||||||
|
- Release 5.2.0
|
||||||
|
* Add mypy support by @blink1073 in #705
|
||||||
|
* Disambiguate the use of the term value in the example. by
|
||||||
|
@metaperl in #694
|
||||||
|
* Correct spelling and grammar errors. by @metaperl in #695
|
||||||
|
* DOC: Add log example by @Carreau in #693
|
||||||
|
* Put description of signature_has_traits after the header for
|
||||||
|
it. by @metaperl in #711
|
||||||
|
* Application: add logging_config trait by @oliver-sanders in
|
||||||
|
#698
|
||||||
|
* [DOC] Give explicit list of private symbols for 5.0 by @vidartf
|
||||||
|
in #692
|
||||||
|
* Add pre-commit and run auto-formatters by @blink1073 in #699
|
||||||
|
* Fix downstream test by @blink1073 in #701
|
||||||
|
* Add docs on pre-commit and use manual hooks where appropriate
|
||||||
|
by @blink1073 in #700
|
||||||
|
* Set up flake8 by @blink1073 in #703
|
||||||
|
* Typing: tell mypy we have type, update all. by @Carreau in #713
|
||||||
|
* Improve CI by @blink1073 in #706
|
||||||
|
* Fix typing errors by @blink1073 in #718
|
||||||
|
* Use flit build backend by @blink1073 in #720
|
||||||
|
* Add Changelog Entry for 5.2.0 by @blink1073 in #717
|
||||||
|
- Add traitlets-pr739-fixversion.patch -- gh#ipython/traitlets#739
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 30 15:30:37 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
Sat Oct 30 15:30:37 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-traitlets
|
# spec file for package python-traitlets
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,21 +16,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
%define skip_python36 1
|
|
||||||
Name: python-traitlets
|
Name: python-traitlets
|
||||||
Version: 5.1.1
|
Version: 5.2.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Traitlets Python configuration system
|
Summary: Traitlets Python configuration system
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/ipython/traitlets
|
URL: https://github.com/ipython/traitlets
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/traitlets/traitlets-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/traitlets/traitlets-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-UPSTREAM traitlets-pr739-fixversion.patch -- gh#ipython/traitlets#739
|
||||||
|
Patch1: https://github.com/ipython/traitlets/pull/739.patch#/traitlets-pr739-fixversion.patch
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module hatchling >= 0.25}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-hatchling >= 0.25
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -38,13 +39,14 @@ BuildArch: noarch
|
|||||||
A configuration system for Python applications.
|
A configuration system for Python applications.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n traitlets-%{version}
|
%autosetup -p1 -n traitlets-%{version}
|
||||||
|
sed -i 's/--color yes//' pyproject.toml
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:059f456c5a7c1c82b98c2e8c799f39c9b8128f6d0d46941ee118daace9eb70c7
|
|
||||||
size 130629
|
|
3
traitlets-5.2.2.tar.gz
Normal file
3
traitlets-5.2.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f72ba7d3b31e7938c122860d70d75a5f0ca34e6f2c7db2c7d2f06d47ae099f27
|
||||||
|
size 136801
|
42
traitlets-pr739-fixversion.patch
Normal file
42
traitlets-pr739-fixversion.patch
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
From 69de82b56bed9675c1acda293b5cdb4b1c1dcc7a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Joffrey Bienvenu <joffreybvn@gmail.com>
|
||||||
|
Date: Tue, 31 May 2022 22:22:32 +0200
|
||||||
|
Subject: [PATCH 1/2] Fix package version
|
||||||
|
|
||||||
|
---
|
||||||
|
traitlets/_version.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/traitlets/_version.py b/traitlets/_version.py
|
||||||
|
index ecff6d1d..a1b6b2c6 100644
|
||||||
|
--- a/traitlets/_version.py
|
||||||
|
+++ b/traitlets/_version.py
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
version_info = (5, 2, 2, "final")
|
||||||
|
-__version__ = "5.2.2"
|
||||||
|
+__version__ = "5.2.2.final"
|
||||||
|
|
||||||
|
# unlike `.dev`, alpha, beta and rc _must not_ have dots,
|
||||||
|
# or the wheel and tgz won't look to pip like the same version.
|
||||||
|
|
||||||
|
From ad10c659385a59c5d015ecae123b9b7a31a108cf Mon Sep 17 00:00:00 2001
|
||||||
|
From: Joffrey Bienvenu <joffreybvn@gmail.com>
|
||||||
|
Date: Tue, 31 May 2022 22:57:03 +0200
|
||||||
|
Subject: [PATCH 2/2] Remove the 'final' keyword in version
|
||||||
|
|
||||||
|
---
|
||||||
|
traitlets/_version.py | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/traitlets/_version.py b/traitlets/_version.py
|
||||||
|
index a1b6b2c6..f75993c7 100644
|
||||||
|
--- a/traitlets/_version.py
|
||||||
|
+++ b/traitlets/_version.py
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
-version_info = (5, 2, 2, "final")
|
||||||
|
-__version__ = "5.2.2.final"
|
||||||
|
+version_info = (5, 2, 2)
|
||||||
|
+__version__ = "5.2.2"
|
||||||
|
|
||||||
|
# unlike `.dev`, alpha, beta and rc _must not_ have dots,
|
||||||
|
# or the wheel and tgz won't look to pip like the same version.
|
Loading…
x
Reference in New Issue
Block a user