Hello community,
here is the log from the commit of package python-requirementslib for
openSUSE:Factory checked in at 2019-06-18 14:50:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requirementslib (Old)
and /work/SRC/openSUSE:Factory/.python-requirementslib.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requirementslib"
Tue Jun 18 14:50:07 2019 rev:2 rq:709394 version:1.5.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-requirementslib/python-requirementslib.changes
2019-03-22 15:02:27.421741909 +0100
+++
/work/SRC/openSUSE:Factory/.python-requirementslib.new.4811/python-requirementslib.changes
2019-06-18 14:50:07.201665682 +0200
@@ -1,0 +2,15 @@
+Wed Jun 12 10:54:40 UTC 2019 - Marketa Calabkova <[email protected]>
+
+- update to version 1.5.1
+ * Fixed a bug which caused local dependencies to incorrectly
+ return wheel as their name.
+ * Implemented an AST parser for setup.py for parsing package names,
+ dependencies, and version information if available.
+ * Fully implement marker merging and consolidation logic using
+ requirement.merge_markers(markers).
+ * Fixed a bug which caused significant degradation in performance
+ while loading requirements.
+ * Added full support for parsing PEP-508 compliant direct URL
+ dependencies.
+
+-------------------------------------------------------------------
Old:
----
requirementslib-1.4.2.tar.gz
New:
----
requirementslib-1.5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-requirementslib.spec ++++++
--- /var/tmp/diff_new_pack.snPWm2/_old 2019-06-18 14:50:08.781664979 +0200
+++ /var/tmp/diff_new_pack.snPWm2/_new 2019-06-18 14:50:08.817664963 +0200
@@ -18,23 +18,25 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-requirementslib
-Version: 1.4.2
+Version: 1.5.1
Release: 0
Summary: A tool for converting between pip-style and pipfile
requirements
License: MIT
Group: Development/Languages/Python
URL: https://github.com/sarugaku/requirementslib
-Source:
https://github.com/sarugaku/requirementslib/archive/v%{version}.tar.gz#/requirementslib-%{version}.tar.gz
+Source:
https://github.com/sarugaku/requirementslib/archive/%{version}.tar.gz#/requirementslib-%{version}.tar.gz
Source1:
https://raw.githubusercontent.com/mahmoud/boltons/master/LICENSE#/LICENSE.boltons
Patch0: use-boltons.patch
BuildRequires: %{python_module parver}
BuildRequires: %{python_module setuptools >= 40.8}
+BuildRequires: %{python_module vistir}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# Cerberus is suggested by plette, but required by requirementslib
Requires: python-Cerberus
Requires: python-appdirs
-Requires: python-attrs
+Requires: python-attrs >= 18.2
Requires: python-boltons >= 19.0.0
Requires: python-cached-property
Requires: python-distlib >= 0.2.8
@@ -46,37 +48,41 @@
Requires: python-plette
Requires: python-requests
Requires: python-setuptools >= 40.8
-Requires: python-six
-Requires: python-tomlkit >= 0.5.2
+Requires: python-six >= 1.11.0
+Requires: python-tomlkit >= 0.5.3
Requires: python-vistir >= 0.3.0
BuildArch: noarch
-%if %{python3_version_nodots} < 35
+%ifpython2
Requires: python-scandir
-%else
-Requires: python2-scandir
+Requires: python-typing
%endif
# SECTION test requirements
BuildRequires: %{python_module Cerberus}
BuildRequires: %{python_module appdirs}
# https://github.com/sarugaku/requirementslib/issues/142 :
-BuildRequires: %{python_module attrs >= 18.1.0}
+BuildRequires: %{python_module appdirs}
+BuildRequires: %{python_module attrs >= 18.2}
BuildRequires: %{python_module boltons >= 19.0.0}
BuildRequires: %{python_module cached-property}
BuildRequires: %{python_module distlib >= 0.2.8}
BuildRequires: %{python_module first}
+BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module orderedmultidict}
-BuildRequires: %{python_module packaging >= 19.0}
+BuildRequires: %{python_module packaging >= 0.19.0}
BuildRequires: %{python_module pep517 >= 0.5.0}
-BuildRequires: %{python_module pip-shims >= 0.3.2}
+BuildRequires: %{python_module pip-shims}
BuildRequires: %{python_module plette}
+BuildRequires: %{python_module pytest-cov}
+BuildRequires: %{python_module pytest-sugar}
+BuildRequires: %{python_module pytest-timeout}
+BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
-BuildRequires: %{python_module scandir}
-BuildRequires: %{python_module six}
-BuildRequires: %{python_module tomlkit >= 0.5.2}
-BuildRequires: %{python_module typing}
+BuildRequires: %{python_module six >= 1.11.0}
+BuildRequires: %{python_module tomlkit >= 0.5.3}
+BuildRequires: %{python_module twine}
BuildRequires: %{python_module vistir >= 0.3.0}
-BuildRequires: git-core
+BuildRequires: python2-typing
# /SECTION
%python_subpackages
@@ -107,24 +113,11 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# LANG needed for Python 3 on Leap only, likely considered a bug
-export LANG=en_US.UTF-8
-# https://github.com/sarugaku/requirementslib/issues/145
-failures=(
- test_get_requirements
- test_get_ref
- test_get_local_ref
- test_stdout_is_suppressed
- test_pep_508
- test_remote_req
- test_local_req
-)
-printf -v failures '%%s or ' "${failures[@]}"
-failures=${failures% or }
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest -k
"not ($failures)"
+# test_get_local_ref and test_get_requirements need internet, test_local_req
is somehow misconfigured
+%pytest tests -k "not needs_internet and not test_get_local_ref and not
test_get_requirements and not test_local_req"
%files %{python_files}
-%doc CHANGELOG.rst NEWS.rst README.rst docs/quickstart.rst
+%doc CHANGELOG.rst README.rst docs/quickstart.rst
%license LICENSE LICENSE.boltons
%{python_sitelib}/*
++++++ requirementslib-1.4.2.tar.gz -> requirementslib-1.5.1.tar.gz ++++++
++++ 5934 lines of diff (skipped)