Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
python-pip-api
unvendor.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unvendor.patch of Package python-pip-api
Index: pip-api-0.0.30/pip_api/__init__.py =================================================================== --- pip-api-0.0.30.orig/pip_api/__init__.py +++ pip-api-0.0.30/pip_api/__init__.py @@ -1,7 +1,7 @@ import sys -from pip_api._vendor.packaging import version as packaging_version -from pip_api._vendor.packaging.version import Version +from packaging import version as packaging_version +from packaging.version import Version # Import this now because we need it below from pip_api._version import version Index: pip-api-0.0.30/pip_api/_hash.py =================================================================== --- pip-api-0.0.30.orig/pip_api/_hash.py +++ pip-api-0.0.30/pip_api/_hash.py @@ -1,6 +1,6 @@ import os -from pip_api._vendor.packaging.version import Version # type: ignore +from packaging.version import Version # type: ignore import pip_api from pip_api._call import call Index: pip-api-0.0.30/pip_api/_installed_distributions.py =================================================================== --- pip-api-0.0.30.orig/pip_api/_installed_distributions.py +++ pip-api-0.0.30/pip_api/_installed_distributions.py @@ -7,7 +7,7 @@ import pip_api from pip_api._call import call from pip_api.exceptions import PipError -from pip_api._vendor.packaging.version import parse # type: ignore +from packaging.version import parse # type: ignore class Distribution: Index: pip-api-0.0.30/pip_api/_parse_requirements.py =================================================================== --- pip-api-0.0.30.orig/pip_api/_parse_requirements.py +++ pip-api-0.0.30/pip_api/_parse_requirements.py @@ -14,7 +14,7 @@ from typing import Any, Dict, Optional, from urllib.parse import urljoin, unquote, urlsplit from urllib.request import pathname2url, url2pathname -from pip_api._vendor.packaging import requirements, specifiers # type: ignore +from packaging import requirements, specifiers # type: ignore from pip_api.exceptions import PipError Index: pip-api-0.0.30/tests/conftest.py =================================================================== --- pip-api-0.0.30.orig/tests/conftest.py +++ pip-api-0.0.30/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 Index: pip-api-0.0.30/tests/test_installed_distributions.py =================================================================== --- pip-api-0.0.30.orig/tests/test_installed_distributions.py +++ pip-api-0.0.30/tests/test_installed_distributions.py @@ -2,7 +2,7 @@ import os import pytest import pip_api -from pip_api._vendor.packaging.version import parse +from packaging.version import parse from pip_api.exceptions import PipError
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor