Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pip piptools #2935

Merged
merged 35 commits into from
Oct 8, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
320f216
Vendor passa as zip for running in venvs
techalchemy Sep 2, 2018
a698fee
Add passa to vendoring task
techalchemy Sep 5, 2018
1af729f
Vendor passa, update piptools
techalchemy Sep 7, 2018
8811b69
Vendor yaspin, update vistir, add pip18 patch
techalchemy Sep 7, 2018
21eb04a
Remove pip10 patch
techalchemy Sep 7, 2018
949a671
Update vistir vendoring
techalchemy Sep 7, 2018
7784f64
Fix passa dep
techalchemy Sep 7, 2018
7bc29c1
update patch for piptools
techalchemy Sep 7, 2018
42eed8a
fix pip patch
techalchemy Sep 7, 2018
b2957af
Update passa
techalchemy Sep 7, 2018
6c2db69
Update to pip 18
techalchemy Sep 7, 2018
9fce94b
Import rewrites
techalchemy Sep 7, 2018
4a5b63a
Fix passa vendoring task
techalchemy Sep 7, 2018
c257891
Update vendored dependencies
techalchemy Oct 6, 2018
ad2d6c9
Update all vendored dependencies
techalchemy Oct 6, 2018
0f9ce3e
Re-updated pip patch to ignore compatibility when sorting
techalchemy Oct 6, 2018
121390d
Patch pipdeptree
techalchemy Oct 6, 2018
17e73f5
Update pip_shims
techalchemy Oct 7, 2018
3f8824f
Add deprecation warning ignores to pytest.ini
techalchemy Oct 7, 2018
6c8ad87
Update pip_shims self-import module replacement logic with new names
techalchemy Oct 7, 2018
339c50e
update vendored shims version
techalchemy Oct 7, 2018
7429881
Add a proper parser for index urls internally
techalchemy Oct 7, 2018
6e042b3
fix piptools patch to account for None in hash lookups
techalchemy Oct 7, 2018
71ed413
Remove extra piptools license
techalchemy Oct 7, 2018
bf64e7b
Add news fragments and final patch for all fixes
techalchemy Oct 7, 2018
c3303d5
Fix manifest
techalchemy Oct 7, 2018
1605c00
Fix environment variable encoding for python 2
techalchemy Oct 7, 2018
1000bdc
move environment imports local so we can use fs_str in env declarations
techalchemy Oct 7, 2018
734b4e7
Clean up redundant code and avoid circular imports
techalchemy Oct 7, 2018
2590c4c
Expose fs_str in `utils.py`
techalchemy Oct 7, 2018
3a303ee
Update piptools patches
techalchemy Oct 7, 2018
b58f902
Fix pipdeptree patch
techalchemy Oct 7, 2018
d289e46
Fix pipdeptree patch again
techalchemy Oct 7, 2018
16fb2d1
Update piptools and fix patch
techalchemy Oct 7, 2018
6136edc
cast environment var as string
techalchemy Oct 7, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Import rewrites
Signed-off-by: Dan Ryan <dan@danryan.co>
  • Loading branch information
techalchemy committed Oct 7, 2018
commit 9fce94bab9f6ce732bb1dafd52469f502765dd9e
2 changes: 1 addition & 1 deletion pipenv/patched/piptools/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import os
import sys

from pip._vendor.packaging.requirements import Requirement
from pipenv.patched.notpip._vendor.packaging.requirements import Requirement

from .exceptions import PipToolsError
from .locations import CACHE_DIR
Expand Down
2 changes: 1 addition & 1 deletion pipenv/patched/piptools/locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from .click import secho
from ._compat import user_cache_dir

# The user_cache_dir helper comes straight from pip itself
# The user_cache_dir helper comes straight from pipenv.patched.notpip itself
CACHE_DIR = user_cache_dir('pip-tools')

# NOTE
Expand Down
6 changes: 3 additions & 3 deletions pipenv/patched/piptools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
from ._compat import InstallRequirement

from .click import style
from pip._vendor.packaging.specifiers import SpecifierSet, InvalidSpecifier
from pip._vendor.packaging.version import Version, InvalidVersion, parse as parse_version
from pip._vendor.packaging.markers import Marker, Op, Value, Variable
from pipenv.patched.notpip._vendor.packaging.specifiers import SpecifierSet, InvalidSpecifier
from pipenv.patched.notpip._vendor.packaging.version import Version, InvalidVersion, parse as parse_version
from pipenv.patched.notpip._vendor.packaging.markers import Marker, Op, Value, Variable


UNSAFE_PACKAGES = {'setuptools', 'distribute', 'pip'}
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/click/_unicodefun.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,5 @@ def _verify_python3_env():

raise RuntimeError('Click will abort further execution because Python 3 '
'was configured to use ASCII as encoding for the '
'environment. Consult http://click.pocoo.org/python3/ '
'environment. Consult http://click.pocoo.org/python3/'
'for mitigation steps.' + extra)
2 changes: 1 addition & 1 deletion pipenv/vendor/requirementslib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding=utf-8 -*-
__version__ = '1.1.7.dev0'
__version__ = '1.1.6'


from .exceptions import RequirementError
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/requirementslib/models/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def strip_ssh_from_git_uri(uri):


def add_ssh_scheme_to_git_uri(uri):
"""Cleans VCS uris from pip format"""
"""Cleans VCS uris from pipenv.patched.notpip format"""
if isinstance(uri, six.string_types):
# Add scheme for parsing purposes, this is also what pip does
if uri.startswith("git+") and "://" not in uri:
Expand Down
21 changes: 21 additions & 0 deletions pipenv/vendor/yaspin/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Pavlo Dmytrenko

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.