Updating link to change in openSUSE:Factory/python-traitlets revision 8.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-traitlets?expand=0&rev=f69aa317bc6f6a803a78a7b3b50a5c21
This commit is contained in:
parent
09adb35cee
commit
3c3dc5b15d
@ -1,106 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 9 20:14:07 UTC 2021 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- specfile:
|
||||
* update copyright year
|
||||
* remove python2
|
||||
* skip six
|
||||
|
||||
- update to version 5.0.5:
|
||||
* Support deprecated literals for sets, tuples on the command-line:
|
||||
nbconvert --TagRemovePreprocessor.remove_cell_tags='{"tag"}'
|
||||
* Fix from_string_list for Tuples in general
|
||||
* Fix support for List(default_value=None, allow_none=True) and
|
||||
other Container traits
|
||||
* Fix help output for nested aliases and tuple traits
|
||||
|
||||
- changes from version 5.0.4:
|
||||
* Support deprecated use of byte-literals for bytes on the
|
||||
command-line: ipython kernel --Session.key="b'abc'". The b prefix
|
||||
is no longer needed in traitlets 5.0, but is supported for
|
||||
backward-compatibility
|
||||
* Improve output of configuration errors, especially when help
|
||||
output would make it hard to find the helpful error message
|
||||
|
||||
- changes from version 5.0.3:
|
||||
* Fix regression in handling –opt=None on the CLI for configurable
|
||||
traits with allow_none=True
|
||||
|
||||
- changes from version 5.0.2:
|
||||
* Fix casting bytes to unicode
|
||||
|
||||
- changes from version 5.0.0:
|
||||
* Major changes are:
|
||||
+ Removal of Python 2 support,
|
||||
+ Removal of Python 3.0-3.6 support
|
||||
+ we now follow NEP 29, and are thus Python 3.7+ only.
|
||||
+ remove six as a dependency
|
||||
+ remove funcsig as a dependency.
|
||||
* Here is a list of most Pull requests that went into 5.0 and a
|
||||
short description.
|
||||
+ PR #362 , PR #361 introduces: - help for aliases , aliases dict
|
||||
values can now be a tuple with (‘target’, ‘help string’) -
|
||||
subcommands can now be arbitrary callable and do not need to be
|
||||
subclass of Application
|
||||
+ PR #306 Add compatibility with the trait package for
|
||||
Dictionaries and add the key_trait parameters allowing to
|
||||
restrict the type of the key of a mapping. The constructor
|
||||
parameters trait and traits are renamed to value_trait and
|
||||
per_key_traits.
|
||||
+ PR #319 adds ability to introduce both shot and long version of
|
||||
aliases, allowing for short and long options - and --.
|
||||
+ PR #322 rewrite command line argument parsing to use argparse,
|
||||
and allow more flexibility in assigning literals without
|
||||
quoting.
|
||||
+ PR #332 Make it easier to redefined default values of parents
|
||||
classes.
|
||||
+ PR #333 introduces a Callable trait.
|
||||
+ PR #340 Old way of passing containers in the command line is now
|
||||
deprecated, and will emit warning on the command line.
|
||||
+ PR #341 introduces --Application.show_config=True which will
|
||||
make by default any application show it configuration, all the
|
||||
files it loaded configuration from, and exit.
|
||||
+ PR #349 unify ability to declare default values across traitlets
|
||||
with a singular method default method, and PR #525 adds a
|
||||
warning that Undefined is deprecated.
|
||||
+ PR #355 fix a random ordering issues in command lines flags.
|
||||
+ PR #356 allow both self and cls in __new__ method for
|
||||
genericity.
|
||||
+ PR #360 Simplify overwriting and extending the command line
|
||||
argument parser.
|
||||
+ PR #371 introduces a FuzzyEnum trait that allow case insensitive
|
||||
and unique prefix matching.
|
||||
+ PR #384 Ass a trait_values method to extra a mapping of trait
|
||||
and their values.
|
||||
+ PR #393 Link now have a transform attribute (taking two
|
||||
functions inverse of each other), that affect how a value is
|
||||
mapped between a source and a target.
|
||||
+ PR #394 Link now have a link method to re-link object after
|
||||
unlink has been called.
|
||||
+ PR #402 rewrite handling of error messages for nested traits.
|
||||
+ PR #405 all function that use to print help now have an
|
||||
equivalent that yields the help lines.
|
||||
+ PR #413 traits now have a method trait_has_value, returning a
|
||||
boolean to know if a value has been assigned to a trait
|
||||
(excluding the default), in order to help avoiding circular
|
||||
validation at initialisation.
|
||||
+ PR #416 Explicitly export traitlets in __all__ to avoid exposing
|
||||
implementation details.
|
||||
+ PR #438 introduces .info_rst() to let traitlets overwrite the
|
||||
automatically generated rst documentation.
|
||||
+ PR #458 Add a sphinx extension to automatically document options
|
||||
of Application instance in projects using traitlets.
|
||||
+ PR #509 remove all base except: meaning traitlets will not catch
|
||||
a number of BaseException s anymore.
|
||||
+ PR #515 Add a class decorator to enable tab completion of
|
||||
keyword arguments in signature.
|
||||
+ PR #516 a Sentinel Traitlets was made public by mistake and is
|
||||
now deprecated.
|
||||
+ PR #517 use parent Logger within logggin configurable when
|
||||
possible.
|
||||
+ PR #522 Make loading config files idempotent and expose the list
|
||||
of loaded config files for long running services.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 12 07:59:14 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-traitlets
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,9 +17,9 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%bcond_without python2
|
||||
Name: python-traitlets
|
||||
Version: 5.0.5
|
||||
Version: 4.3.3
|
||||
Release: 0
|
||||
Summary: Traitlets Python config system
|
||||
License: BSD-3-Clause
|
||||
@ -29,11 +29,20 @@ BuildRequires: %{python_module decorator}
|
||||
BuildRequires: %{python_module ipython_genutils}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-decorator
|
||||
Requires: python-ipython_genutils
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
%if %{with python2}
|
||||
BuildRequires: python-enum34
|
||||
BuildRequires: python-mock
|
||||
%endif
|
||||
%ifpython2
|
||||
Requires: python-enum34
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
3
traitlets-4.3.3.tar.gz
Normal file
3
traitlets-4.3.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d023ee369ddd2763310e4c3eae1ff649689440d4ae59d7485eb4cfbbe3e359f7
|
||||
size 89838
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:178f4ce988f69189f7e523337a3e11d91c786ded9360174a3d9ca83e79bc5396
|
||||
size 128856
|
Loading…
x
Reference in New Issue
Block a user