Accepting request 483952 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/483952 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-traitlets?expand=0&rev=2
This commit is contained in:
parent
87a93d4d58
commit
1633e07766
@ -1,3 +1,73 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 18:54:06 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 4.3.2
|
||||
* using :meth:`_traitname_default()` without the ``@default``
|
||||
decorator is no longer deprecated.
|
||||
* Passing ``config=True`` in traitlets constructors is no longer
|
||||
deprecated.
|
||||
- Update to 4.3.1
|
||||
* Compatibility fix for Python 3.6a1
|
||||
* Fix bug in Application.classes getting extra entries when
|
||||
multiple Applications are instantiated in the same process.
|
||||
- Update to 4.3.0
|
||||
* Improve the generated config file output.
|
||||
* Allow TRAITLETS_APPLICATION_RAISE_CONFIG_FILE_ERROR env to
|
||||
override :attr:`Application.raise_config_file_errors`,
|
||||
so that config file errors can result in exiting immediately.
|
||||
* Avoid using root logger. If no application logger is registered,
|
||||
the ``'traitlets'`` logger will be used instead of the root
|
||||
logger.
|
||||
* Change/Validation arguments are now Bunch objects, allowing
|
||||
attribute-access, in addition to dictionary access.
|
||||
* Reduce number of common deprecation messages in certain cases.
|
||||
* Ensure command-line options always have higher priority than
|
||||
config files.
|
||||
* Add bounds on numeric traits.
|
||||
* Improves various error messages.
|
||||
- Update to 4.2.2
|
||||
* Partially revert a change in 4.1 that prevented IPython's
|
||||
command-line options from taking priority over config files.
|
||||
- Update to 4.2.1
|
||||
* Demotes warning about unused arguments in ``HasTraits.__init__``
|
||||
introduced in 4.2.0 to DeprecationWarning.
|
||||
- Update to 4.2.0
|
||||
* :class:`JSONFileConfigLoader` can be used as a context manager
|
||||
for updating configuration.
|
||||
* If a value in config does not map onto a configurable trait,
|
||||
a message is displayed that the value will have no effect.
|
||||
* Unused arguments are passed to ``super()`` in
|
||||
``HasTraits.__init__``, improving support for multiple
|
||||
inheritance.
|
||||
* Various bugfixes and improvements in the new API introduced
|
||||
in 4.1.
|
||||
* Application subclasses may specify
|
||||
``raise_config_file_errors = True``
|
||||
to exit on failure to load config files,
|
||||
instead of the default of logging the failures.
|
||||
- Update to 4.1
|
||||
* Decorators are used, rather than magic method names, for
|
||||
registering trait-related methods. See :doc:`using_traitlets`
|
||||
and :doc:`migration` for more info.
|
||||
* Deprecate ``Trait(config=True)`` in favor of
|
||||
``Trait().tag(config=True)``. In general, metadata is added
|
||||
via ``tag`` instead of the constructor.
|
||||
* Trait attributes initialized with ``read_only=True`` can only
|
||||
be set with the ``set_trait`` method.
|
||||
Attempts to directly modify a read-only trait attribute raises
|
||||
a ``TraitError``.
|
||||
* The directional link now takes an optional `transform`
|
||||
attribute allowing the modification of the value.
|
||||
* Various fixes and improvements to config-file generation
|
||||
(fixed ordering, Undefined showing up, etc.)
|
||||
* Warn on unrecognized traits that aren't configurable, to avoid
|
||||
silently ignoring mistyped config.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 18:53:09 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Update to version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 14 07:48:27 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-traitlets
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,26 +17,27 @@
|
||||
|
||||
|
||||
Name: python-traitlets
|
||||
Version: 4.0.0
|
||||
Version: 4.3.2
|
||||
Release: 0
|
||||
Summary: Traitlets Python config system
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://ipython.org
|
||||
Source: https://pypi.python.org/packages/source/t/traitlets/traitlets-%{version}.tar.gz
|
||||
BuildRequires: python-decorator
|
||||
Source: https://files.pythonhosted.org/packages/source/t/traitlets/traitlets-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-ipython_genutils
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-decorator
|
||||
BuildRequires: python-enum34
|
||||
BuildRequires: python-ipython_genutils
|
||||
# Test requirements
|
||||
BuildRequires: python-pytest
|
||||
# Python 2 test requirements
|
||||
BuildRequires: python-mock
|
||||
Requires: python-decorator
|
||||
Requires: python-enum34
|
||||
Requires: python-ipython_genutils
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
A configuration system for Python applications.
|
||||
@ -51,7 +52,7 @@ python setup.py build
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
nosetests
|
||||
py.test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0b140b4a94a4f1951887d9bce4650da211f79600fc9fdb422acc90c5bbe0233b
|
||||
size 63701
|
3
traitlets-4.3.2.tar.gz
Normal file
3
traitlets-4.3.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9c4bd2d267b7153df9152698efb1050a5d84982d3384a37b2c1f7723ba3e7835
|
||||
size 88173
|
Loading…
x
Reference in New Issue
Block a user