- Remove now-unused `allow_global` argument to pip install
argument builder
- Update vistir version number and code to fix vendoring issue
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
- Fix how `use_pep517` and `build_isolation` are read from the
environment -- introduce a new environment helper to detect
`<PREFIX>_<SETTING>` and `<PREFIX>_NO_<SETTING>`, check for booleans
and return appropriately boolean, str, or None types
- Check for `False` values when adding `--no-use-pep517` and
`--no-build-isolation` during resolution rather than falsey values
- Change environment variable name from `PIP_PYTHON_VERSION` to
`PIPENV_REQUESTED_PYTHON_VERSION` to avoid causing `pip` to fail due
to accidentally percieving the `python_version` flag as being set --
this is an artifact from attempting to resolve outside of the
virtualenv
- Add `pipenv` to the path of patched `notpip.__main__` to accommodate
updated import fully qualified module names
- Update `pip` and `piptools` patches
- Add test packages for each of two known failure modes: outdated
`setuptools` with a missing `build-backend` (which `pip` forces to
`build_meta:__legacy__` & which doesn't exist before `40.8`), and
`import Cython` statements in `setup.py` in packages with properly
defined `pyproject.toml` `build-backend` lines.
- Fixes#4231
- Replaces, includes, and closes#4242
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
Add integration tests for #4231
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
- `ignore_compatibility` is meant to resolve hashes into the lockfile
after resolution happens
- We still want compatible items to be the ones we actually tell pip to
install
- Fixes#4231
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
- Recursively resolve PEP 508 URLs in subdependencies
- Fix `piptools` cache storage of VCS dependencies as results
- Avoid saving VCS dependency versions to `Pipfile.lock`
- Fixes#3396
- Fixes#4217
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
- Automatically release when tags are pushed to master
- Release automation will build wheel and sdist + upload to pypi
- Added test pypi as initial target
- Updated version update scripts to help with automatic version
management
Signed-off-by: Dan Ryan <dan@danryan.co>
- Requests doesn't unpack zipped certs when they are set directly
- Zipped bundles are unpacked when they are discovered
- So we can just include certifi and put it on `sys.path`
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
- Drop pytest-tap
- Update azure pipelines config
- Borrow ramdisk configuration from pip
- Fix pyinstaller ref for python 2
- Add 0-minute timeout and add github workflow
- Add skip for pywin32
- Scale down to `-n auto` to reduce race conditions on windows
- Skip pywin32 on python 3.8 as the relevant dependencies aren't
compatible
- Use default pip exists action = ignore to work around VCS race
condition
- Create local temp directory to avoid crossing drive letter boundary on
azure during CI runs
- Monkeypatch click windows console detection to return False in CI
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>