Hello community, here is the log from the commit of package python-py for openSUSE:Leap:15.2 checked in at 2020-04-28 20:09:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-py (Old) and /work/SRC/openSUSE:Leap:15.2/.python-py.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-py" Tue Apr 28 20:09:41 2020 rev:22 rq:795978 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-py/python-py.changes 2020-01-15 15:51:43.871539021 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-py.new.2738/python-py.changes 2020-04-28 20:09:42.308353373 +0200 @@ -1,0 +2,68 @@ +Mon Jan 6 12:53:25 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 1.8.1: + - Handle ``FileNotFoundError`` when trying to import pathlib in + ``path.common`` on Python 3.4 (#207). + - ``py.path.local.samefile`` now works correctly in Python 3 on + Windows when dealing with symlinks. + +------------------------------------------------------------------- +Wed Jun 19 10:08:47 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Switch to multibuild to avoid cycle bsc#1138666 + +------------------------------------------------------------------- +Wed Feb 27 13:48:08 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 1.8.0: + * add ``"importlib"`` pyimport mode for python3.5+, allowing unimportable test suites + to contain identically named modules. + * fix ``LocalPath.as_cwd()`` not calling ``os.chdir()`` with ``None``, when + being invoked from a non-existing directory. +- Drop merged patch separators.patch + +------------------------------------------------------------------- +Fri Feb 15 11:19:55 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Make tests never fail as they are borked on pytest-4 with + most probably no intention of being ever fixed + +------------------------------------------------------------------- +Fri Feb 15 11:01:39 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Make tests really pass on pytest 3.x series +- Add patch to operate better with serparators (from upstream git): + * separators.patch + +------------------------------------------------------------------- +Tue Feb 12 14:34:40 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Drop the doc subpackage, no need for it really +- Make sure the tests are realy executed + +------------------------------------------------------------------- +Fri Oct 26 13:07:32 UTC 2018 - Ondřej Súkup <mimi...@gmail.com> + +- update to 1.7.0 + * use ``shutil.get_terminal_size()`` in Python 3.3+ to determine the size of the + terminal, which produces more accurate results than the previous method. + * introduce new ``PY_IGNORE_IMPORTMISMATCH`` environment variable + that suppresses ``ImportMismatchError`` exceptions when set to ``1``. + * add ``TerminalWriter.width_of_current_line`` (i18n version of + ``TerminalWriter.chars_on_current_line``), a read-only property + that tracks how wide the current line is, attempting to take + into account international characters in the calculation. + +------------------------------------------------------------------- +Thu Aug 2 12:39:13 UTC 2018 - mimi...@gmail.com + +- update to 1.5.4 + * don't make assumptions about fs case sensitivity in ``make_numbered_dir``. + +------------------------------------------------------------------- +Thu May 31 04:37:00 UTC 2018 - toddrme2...@gmail.com + +- update to version 1.5.3 + * - fix #179: ensure we can support 'from py.error import ...' + +------------------------------------------------------------------- Old: ---- py-1.5.2.tar.gz python-py-doc.changes python-py-doc.spec New: ---- _multibuild py-1.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-py.spec ++++++ --- /var/tmp/diff_new_pack.flg3wO/_old 2020-04-28 20:09:42.756354303 +0200 +++ /var/tmp/diff_new_pack.flg3wO/_new 2020-04-28 20:09:42.756354303 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-py # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,25 +12,37 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-py -Version: 1.5.2 +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif +Name: python-py%{psuffix} +Version: 1.8.1 Release: 0 Summary: Library with cross-python path, ini-parsing, io, code, log facilities License: MIT Group: Development/Languages/Python -Url: https://pylib.readthedocs.io +URL: https://github.com/pytest-dev/py Source: https://files.pythonhosted.org/packages/source/p/py/py-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Obsoletes: %{oldpython}-py-docs BuildArch: noarch - +%if %{with test} +BuildRequires: %{python_module pytest} +%endif %python_subpackages %description @@ -43,20 +55,37 @@ * py.code: dynamic code generation and introspection * py.path: uniform local and svn path objects - %prep %setup -q -n py-%{version} + rm -rf py.egg-info +rm -f tox.ini +# https://github.com/pytest-dev/py/issues/162 +rm -f testing/log/test_warning.py %build %python_build %install +%if !%{with test} %python_install +%python_exec %fdupes %{buildroot}%{$python_sitelib} +%endif + +%check +%if %{with test} +export LANG=en_US.UTF-8 +# the passing is because upstream does not care about the results for now and +# pinned pytest 3 in the repo (as this module is deprecated) +# https://github.com/pytest-dev/py/issues/209 +%pytest || : +%endif +%if !%{with test} %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%doc README.rst +%license LICENSE %{python_sitelib}/* +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild> ++++++ py-1.5.2.tar.gz -> py-1.8.1.tar.gz ++++++ ++++ 2094 lines of diff (skipped)