commit python-pip-api for openSUSE:Factory
Hello community, here is the log from the commit of package python-pip-api for openSUSE:Factory checked in at 2020-03-27 00:24:54 Comparing /work/SRC/openSUSE:Factory/python-pip-api (Old) and /work/SRC/openSUSE:Factory/.python-pip-api.new.3160 (New) Package is "python-pip-api" Fri Mar 27 00:24:54 2020 rev:6 rq:785550 version:0.0.14 Changes: --- /work/SRC/openSUSE:Factory/python-pip-api/python-pip-api.changes 2019-10-31 18:18:36.854219145 +0100 +++ /work/SRC/openSUSE:Factory/.python-pip-api.new.3160/python-pip-api.changes 2020-03-27 00:25:01.048248296 +0100 @@ -1,0 +2,7 @@ +Mon Mar 16 10:09:16 UTC 2020 - Marketa Calabkova + +- Update to 0.0.14 + * Test against pip 19.2 to 20.0.2 + * Support Python 3.8 + +--- Old: pip-api-0.0.13.tar.gz New: pip-api-0.0.14.tar.gz Other differences: -- ++ python-pip-api.spec ++ --- /var/tmp/diff_new_pack.P6JQT5/_old 2020-03-27 00:25:03.164249367 +0100 +++ /var/tmp/diff_new_pack.P6JQT5/_new 2020-03-27 00:25:03.168249369 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pip-api # -# Copyright (c) 2019 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 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pip-api -Version:0.0.13 +Version:0.0.14 Release:0 Summary:The official unofficial pip API License:Apache-2.0 @@ -26,7 +26,7 @@ URL:https://github.com/di/pip-api Source: https://files.pythonhosted.org/packages/source/p/pip-api/pip-api-%{version}.tar.gz Patch0: unvendor.patch -BuildRequires: %{python_module packaging >= 16.1} +BuildRequires: %{python_module packaging >= 20.3} BuildRequires: %{python_module pip} BuildRequires: %{python_module pretend} BuildRequires: %{python_module pytest} @@ -34,7 +34,7 @@ BuildRequires: %{python_module virtualenv} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-packaging >= 16.1 +Requires: python-packaging >= 20.3 Requires: python-pip BuildArch: noarch %python_subpackages ++ pip-api-0.0.13.tar.gz -> pip-api-0.0.14.tar.gz ++ 2842 lines of diff (skipped)
commit python-pip-api for openSUSE:Factory
Hello community, here is the log from the commit of package python-pip-api for openSUSE:Factory checked in at 2019-10-31 18:18:18 Comparing /work/SRC/openSUSE:Factory/python-pip-api (Old) and /work/SRC/openSUSE:Factory/.python-pip-api.new.2990 (New) Package is "python-pip-api" Thu Oct 31 18:18:18 2019 rev:5 rq:744168 version:0.0.13 Changes: --- /work/SRC/openSUSE:Factory/python-pip-api/python-pip-api.changes 2019-07-23 22:40:11.606936511 +0200 +++ /work/SRC/openSUSE:Factory/.python-pip-api.new.2990/python-pip-api.changes 2019-10-31 18:18:36.854219145 +0100 @@ -1,0 +2,8 @@ +Wed Oct 30 13:08:42 UTC 2019 - Tomáš Chvátal + +- Update to 0.0.13: + - Include six==1.12.0 as a vendored dependency (#42) + - Upgrade vendored packaging==19.2 + - Upgrade vendored pyparsing==2.4.2 + +--- Old: pip-api-0.0.12.tar.gz New: pip-api-0.0.13.tar.gz Other differences: -- ++ python-pip-api.spec ++ --- /var/tmp/diff_new_pack.KifzTl/_old 2019-10-31 18:18:39.042221411 +0100 +++ /var/tmp/diff_new_pack.KifzTl/_new 2019-10-31 18:18:39.046221414 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pip-api -Version:0.0.12 +Version:0.0.13 Release:0 Summary:The official unofficial pip API License:Apache-2.0 ++ pip-api-0.0.12.tar.gz -> pip-api-0.0.13.tar.gz ++ 6558 lines of diff (skipped)
commit python-pip-api for openSUSE:Factory
Hello community, here is the log from the commit of package python-pip-api for openSUSE:Factory checked in at 2019-07-23 22:40:09 Comparing /work/SRC/openSUSE:Factory/python-pip-api (Old) and /work/SRC/openSUSE:Factory/.python-pip-api.new.4126 (New) Package is "python-pip-api" Tue Jul 23 22:40:09 2019 rev:4 rq:717861 version:0.0.12 Changes: --- /work/SRC/openSUSE:Factory/python-pip-api/python-pip-api.changes 2019-06-20 18:54:47.968796427 +0200 +++ /work/SRC/openSUSE:Factory/.python-pip-api.new.4126/python-pip-api.changes 2019-07-23 22:40:11.606936511 +0200 @@ -1,0 +2,6 @@ +Tue Jul 23 11:27:24 UTC 2019 - Tomáš Chvátal + +- Update to 0.0.12: + * Bugfix with relative paths (#39) + +--- Old: pip-api-0.0.10.tar.gz New: pip-api-0.0.12.tar.gz Other differences: -- ++ python-pip-api.spec ++ --- /var/tmp/diff_new_pack.wf9qxG/_old 2019-07-23 22:40:12.126936403 +0200 +++ /var/tmp/diff_new_pack.wf9qxG/_new 2019-07-23 22:40:12.126936403 +0200 @@ -18,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pip-api -Version:0.0.10 +Version:0.0.12 Release:0 Summary:The official unofficial pip API License:Apache-2.0 Group: Development/Languages/Python -URL:http://github.com/di/pip-api +URL:https://github.com/di/pip-api Source: https://files.pythonhosted.org/packages/source/p/pip-api/pip-api-%{version}.tar.gz Patch0: unvendor.patch BuildRequires: %{python_module packaging >= 16.1} ++ pip-api-0.0.10.tar.gz -> pip-api-0.0.12.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pip-api-0.0.10/PKG-INFO new/pip-api-0.0.12/PKG-INFO --- old/pip-api-0.0.10/PKG-INFO 2019-06-07 06:27:43.0 +0200 +++ new/pip-api-0.0.12/PKG-INFO 2019-07-09 18:40:22.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pip-api -Version: 0.0.10 +Version: 0.0.12 Summary: An unofficial, importable pip API Home-page: http://github.com/di/pip-api Author: Dustin Ingram diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pip-api-0.0.10/pip_api/_parse_requirements.py new/pip-api-0.0.12/pip_api/_parse_requirements.py --- old/pip-api-0.0.10/pip_api/_parse_requirements.py 2019-06-06 22:24:25.0 +0200 +++ new/pip-api-0.0.12/pip_api/_parse_requirements.py 2019-07-09 11:56:43.0 +0200 @@ -177,6 +177,7 @@ while to_parse: filename = to_parse.pop() +dirname = os.path.dirname(filename) parsed.add(filename) # Combine multi-line commands @@ -203,8 +204,9 @@ raise elif known.requirements: -if known.requirements not in parsed: -to_parse.add(known.requirements) +full_path = os.path.join(dirname, known.requirements) +if full_path not in parsed: +to_parse.add(full_path) elif known.editable: name, url = _parse_editable(known.editable) req = requirements.Requirement("%s @ %s" % (name, url)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pip-api-0.0.10/pip_api.egg-info/PKG-INFO new/pip-api-0.0.12/pip_api.egg-info/PKG-INFO --- old/pip-api-0.0.10/pip_api.egg-info/PKG-INFO2019-06-07 06:27:43.0 +0200 +++ new/pip-api-0.0.12/pip_api.egg-info/PKG-INFO2019-07-09 18:40:22.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pip-api -Version: 0.0.10 +Version: 0.0.12 Summary: An unofficial, importable pip API Home-page: http://github.com/di/pip-api Author: Dustin Ingram diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pip-api-0.0.10/setup.py new/pip-api-0.0.12/setup.py --- old/pip-api-0.0.10/setup.py 2019-06-07 06:27:15.0 +0200 +++ new/pip-api-0.0.12/setup.py 2019-07-09 18:39:53.0 +0200 @@ -24,5 +24,5 @@ python_requires=">=2.7,!=3.0,!=3.1,!=3.2,!=3.3", url="http://github.com/di/pip-api;, summary="An unofficial, importable pip API", -version="0.0.10", +version="0.0.12", ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pip-api-0.0.10/tests/test_parse_requirements.py new/pip-api-0.0.12/tests/test_parse_requirements.py --- old/pip-api-0.0.10/tests/test_parse_requirements.py 2019-06-06 22:24:25.0 +0200 +++ new/pip-api-0.0.12/tests/test_parse_requirements.py 2019-07-09 11:56:43.0 +0200 @@ -176,3 +176,15 @@
commit python-pip-api for openSUSE:Factory
Hello community, here is the log from the commit of package python-pip-api for openSUSE:Factory checked in at 2019-06-20 18:54:44 Comparing /work/SRC/openSUSE:Factory/python-pip-api (Old) and /work/SRC/openSUSE:Factory/.python-pip-api.new.4811 (New) Package is "python-pip-api" Thu Jun 20 18:54:44 2019 rev:3 rq:708404 version:0.0.10 Changes: --- /work/SRC/openSUSE:Factory/python-pip-api/python-pip-api.changes 2019-05-20 10:28:18.237918112 +0200 +++ /work/SRC/openSUSE:Factory/.python-pip-api.new.4811/python-pip-api.changes 2019-06-20 18:54:47.968796427 +0200 @@ -1,0 +2,6 @@ +Fri Jun 7 15:29:45 UTC 2019 - Ondřej Súkup + +- update to 0.0.10 +- add unvendor.patch + +--- Old: pip-api-0.0.8.tar.gz New: pip-api-0.0.10.tar.gz unvendor.patch Other differences: -- ++ python-pip-api.spec ++ --- /var/tmp/diff_new_pack.AYTYUa/_old 2019-06-20 18:54:49.520798553 +0200 +++ /var/tmp/diff_new_pack.AYTYUa/_new 2019-06-20 18:54:49.572798624 +0200 @@ -18,13 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pip-api -Version:0.0.8 +Version:0.0.10 Release:0 Summary:The official unofficial pip API License:Apache-2.0 Group: Development/Languages/Python URL:http://github.com/di/pip-api Source: https://files.pythonhosted.org/packages/source/p/pip-api/pip-api-%{version}.tar.gz +Patch0: unvendor.patch BuildRequires: %{python_module packaging >= 16.1} BuildRequires: %{python_module pip} BuildRequires: %{python_module pretend} @@ -43,6 +44,8 @@ %prep %setup -q -n pip-api-%{version} +%patch0 -p1 +rm -Rf ./pip_api/_vendor %build %python_build @@ -56,7 +59,7 @@ # test_installed_distributions # test_all_the_right_pips # test_isolation -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not (test_installed_distributions or test_all_the_right_pips or test_isolation)' +%pytest -v -k 'not (test_installed_distributions or test_all_the_right_pips or test_isolation)' %files %{python_files} %doc README.md ++ pip-api-0.0.8.tar.gz -> pip-api-0.0.10.tar.gz ++ 9295 lines of diff (skipped) ++ unvendor.patch ++ Index: pip-api-0.0.10/pip_api/__init__.py === --- pip-api-0.0.10.orig/pip_api/__init__.py +++ pip-api-0.0.10/pip_api/__init__.py @@ -1,6 +1,6 @@ import sys -from pip_api._vendor.packaging import version as packaging_version +from packaging import version as packaging_version # Import this now because we need it below from pip_api._version import version Index: pip-api-0.0.10/pip_api/_hash.py === --- pip-api-0.0.10.orig/pip_api/_hash.py +++ pip-api-0.0.10/pip_api/_hash.py @@ -1,4 +1,4 @@ -from pip_api._vendor.packaging.version import Version +from packaging.version import Version import pip_api from pip_api._call import call Index: pip-api-0.0.10/pip_api/_installed_distributions.py === --- pip-api-0.0.10.orig/pip_api/_installed_distributions.py +++ pip-api-0.0.10/pip_api/_installed_distributions.py @@ -3,7 +3,7 @@ import re import pip_api from pip_api._call import call -from pip_api._vendor.packaging.version import Version +from packaging.version import Version class Distribution: Index: pip-api-0.0.10/pip_api/_parse_requirements.py === --- pip-api-0.0.10.orig/pip_api/_parse_requirements.py +++ pip-api-0.0.10/pip_api/_parse_requirements.py @@ -13,7 +13,7 @@ try: # py27 except ImportError: from urllib import pathname2url -from pip_api._vendor.packaging import requirements, specifiers +from packaging import requirements, specifiers from pip_api.exceptions import PipError Index: pip-api-0.0.10/tests/conftest.py === --- pip-api-0.0.10.orig/tests/conftest.py +++ pip-api-0.0.10/tests/conftest.py @@ -6,7 +6,7 @@ import pytest import pretend import virtualenv -from pip_api._vendor.packaging.version import Version +from packaging.version import Version import pip_api
commit python-pip-api for openSUSE:Factory
Hello community, here is the log from the commit of package python-pip-api for openSUSE:Factory checked in at 2019-05-20 10:28:14 Comparing /work/SRC/openSUSE:Factory/python-pip-api (Old) and /work/SRC/openSUSE:Factory/.python-pip-api.new.5148 (New) Package is "python-pip-api" Mon May 20 10:28:14 2019 rev:2 rq:703785 version:0.0.8 Changes: --- /work/SRC/openSUSE:Factory/python-pip-api/python-pip-api.changes 2019-02-28 21:42:43.717542390 +0100 +++ /work/SRC/openSUSE:Factory/.python-pip-api.new.5148/python-pip-api.changes 2019-05-20 10:28:18.237918112 +0200 @@ -1,0 +2,9 @@ +Fri May 17 19:43:12 UTC 2019 - Hardik Italia + +- Update to 0.0.8: + * Handle editable installs + * Ignore index url parameters in parse_requirements + * Drop support for Python 3.4 + * Add support for pip 19.0, 19.0.1, 19.0.2, 19.0.3 + +--- Old: pip-api-0.0.5.tar.gz New: pip-api-0.0.8.tar.gz Other differences: -- ++ python-pip-api.spec ++ --- /var/tmp/diff_new_pack.CmtDma/_old 2019-05-20 10:28:18.697917960 +0200 +++ /var/tmp/diff_new_pack.CmtDma/_new 2019-05-20 10:28:18.697917960 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pip-api -Version:0.0.5 +Version:0.0.8 Release:0 Summary:The official unofficial pip API License:Apache-2.0 ++ pip-api-0.0.5.tar.gz -> pip-api-0.0.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pip-api-0.0.5/PKG-INFO new/pip-api-0.0.8/PKG-INFO --- old/pip-api-0.0.5/PKG-INFO 2019-02-21 23:46:07.0 +0100 +++ new/pip-api-0.0.8/PKG-INFO 2019-05-06 18:30:24.0 +0200 @@ -1,7 +1,7 @@ Metadata-Version: 2.1 Name: pip-api -Version: 0.0.5 -Summary: The official unofficial pip API +Version: 0.0.8 +Summary: An unofficial, importable pip API Home-page: http://github.com/di/pip-api Author: Dustin Ingram Author-email: di@di.codes @@ -51,9 +51,8 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 -Requires-Python: >=2.7,!=3.0,!=3.1,!=3.2,!=3.3 +Requires-Python: >=2.7,!=3.0,!=3.1,!=3.2,!=3.3,!=3.4 Description-Content-Type: text/markdown diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pip-api-0.0.5/pip_api/_parse_requirements.py new/pip-api-0.0.8/pip_api/_parse_requirements.py --- old/pip-api-0.0.5/pip_api/_parse_requirements.py2018-10-25 21:34:54.0 +0200 +++ new/pip-api-0.0.8/pip_api/_parse_requirements.py2019-05-06 17:33:10.0 +0200 @@ -1,4 +1,5 @@ import argparse +import ast import os import re import traceback @@ -20,6 +21,10 @@ parser.add_argument("req", nargs="?") parser.add_argument("-r", "--requirements") parser.add_argument("-e", "--editable") +# Consume index url params to avoid trying to treat them as packages. +parser.add_argument("-i", "--index-url") +parser.add_argument("--extra-index-url") +parser.add_argument("-f", "--find-links") operators = packaging.specifiers.Specifier._operators.keys() @@ -71,6 +76,26 @@ return url +def _parse_local_package_name(path): +'''Tokenize setup.py and walk the syntax tree to find the package name''' +try: +with open(os.path.join(path, 'setup.py')) as f: +tree = ast.parse(f.read()) +setup_kwargs = [ +expr.value.keywords for expr in tree.body +if isinstance(expr, ast.Expr) and isinstance(expr.value, ast.Call) +and expr.value.func.id == 'setup' +][0] +value = [kw.value for kw in setup_kwargs if kw.arg == 'name'][0] +return value.s +except (IndexError, AttributeError, IOError, OSError): +raise PipError( +"Directory %r is not installable. " +"Could not parse package name from 'setup.py'." % +path +) + + def _parse_editable(editable_req): url = editable_req @@ -87,7 +112,7 @@ url_no_extras = _path_to_url(url_no_extras) if url_no_extras.lower().startswith('file:'): -return +return _parse_local_package_name(url_no_extras[len('file://'):]), url_no_extras if '+' not in url: raise PipError( @@ -103,6 +128,8 @@ "with #egg=your_package_name" % editable_req ) +return package_name, url + def _filterfalse(predicate,