Commit Graph

6722 Commits

Author SHA1 Message Date
Dan Ryan dad1c2031e Merge pull request #4248 from pypa/bugfix/4231 2020-05-11 10:29:53 -04:00
Dan Ryan c7425e7508 Skip tests that build extensions on windows
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-09 10:55:01 -04:00
Dan Ryan 362a730fac Fix environment comparison code and add tests
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-09 00:41:49 -04:00
Dan Ryan 47aa2acc90 Set build_isolation and use_pep517 correctly
- 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>
2020-05-08 21:43:32 -04:00
Dan Ryan 7059a26fbd Float wheels to the top of the candidate sort order
- `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>
2020-05-08 09:59:09 -04:00
Dan Ryan 9ab617af77 Merge pull request #4243 from torsava/network-tests 2020-05-06 21:48:33 -04:00
Tomas Orsava de5cdf5949 Mark unit tests requiring network connection 2020-05-06 16:26:21 +02:00
Dan Ryan cdcf777c11 Merge pull request #4241 from pypa/bugfix/4217 2020-05-06 02:19:27 -04:00
Dan Ryan 2a72d42e3d Fix inadvertent build isolation setting
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-06 01:39:05 -04:00
Dan Ryan c30155ff45 Fix recursive PEP 508 VCS resolution
- 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>
2020-05-05 23:44:34 -04:00
Frost Ming 02cca98d67 Merge pull request #4236 from pypa/bugfix/4232
Don't fallback to python unconstrained version
2020-05-05 09:53:52 +08:00
frostming bef684dc03 don't fallback to python unconstrained version 2020-05-04 20:51:15 +08:00
Frost Ming 3dcf0f33b9 Merge pull request #4230 from cocoatomo/patch-1
Lacking sphinxcontrib-spelling module
2020-05-03 15:43:38 +08:00
Frost Ming 24ab62ba67 Merge branch 'master' into patch-1 2020-05-03 09:28:44 +08:00
Frost Ming 02288d8f3f Merge pull request #4219 from pypa/bugfix/toml-table
fix toml table construction
2020-05-03 09:28:21 +08:00
cocoatomo ecf984dbcc Lacking sphinxcontrib-spelling module
Sphinx build fails with "exception: No module named 'sphinxcontrib.spelling'" error.
sphinxcontrib-spelling was added by https://github.com/pypa/pipenv/commit/2f460a9128ee5c880dcbc52fd2b8de3fe393720a 3days ago.
2020-05-02 20:10:33 +09:00
frostming a77e329341 Use the version in mocked PyPI 2020-04-30 10:45:43 +08:00
frostming 8162a22bca add a test case 2020-04-30 09:49:13 +08:00
frostming 2ecd5d1300 fix toml table construction 2020-04-29 20:01:36 +08:00
Dan Ryan 2f460a9128 Add sphinx spellcheck addon (#4209)
Co-Authored-By: Frost Ming <mianghong@gmail.com>
Co-Authored-By: Sumana Harihareswara <sh@changeset.nyc>
2020-04-29 02:39:06 -04:00
Github Action f55356514e Bumped version.
Signed-off-by: Github Action <action@github.com>
2020-04-29 04:05:51 +00:00
Dan Ryan 36a5a7cf6e Bumped version.
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
v2020.4.1b1
2020-04-29 00:02:33 -04:00
Dan Ryan 881d0e9923 Update release task
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-29 00:02:06 -04:00
Dan Ryan 76eee5fff7 Update makefile rules and manifest
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 23:13:40 -04:00
Dan Ryan c18d9bd8d9 Update manifest
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 22:16:02 -04:00
Dan Ryan 979cc69dec Switch automated release action to point at production pypi
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 22:07:08 -04:00
Dan Ryan 061f430148 Update CI exclusion rules
- Fix build rules for deployment environment

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 21:59:55 -04:00
Dan Ryan 4e7b6e6093 Fix tag syntax in workflow yaml
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
v2020.4.1a2
2020-04-28 20:53:36 -04:00
Dan Ryan cac14da5e8 Fix upload task before tagging
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 18:27:46 -04:00
Dan Ryan a3b8d99d71 Bumped version.
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 18:21:10 -04:00
Dan Ryan 291c3da4fa Update lockfile
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 18:20:49 -04:00
Dan Ryan 7e08bb991d Merge pull request #4215 from pypa/feature/update-pip-piptools 2020-04-28 16:09:43 -04:00
Dan Ryan 84eeb38cb3 Merge branch 'master' into feature/update-pip-piptools 2020-04-28 15:24:43 -04:00
Dan Ryan 5b2eddcc65 Add build dir even though it's in gitignore
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 14:28:21 -04:00
Dan Ryan 4d93195620 Merge pull request #4210 from pypa/feature/update-pyup-info 2020-04-28 12:19:46 -04:00
Dan Ryan 456f3b21d7 Merge branch 'master' into feature/update-pyup-info 2020-04-28 12:19:36 -04:00
Dan Ryan a68166af55 Reword note about pyup
Reword `pipenv check` note in docs

Co-Authored-By: Sumana Harihareswara <sh@changeset.nyc>
2020-04-28 12:19:19 -04:00
Dan Ryan d4a86d0ca9 Add news entry.
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 12:09:44 -04:00
Dan Ryan c19435e6da Fix relative path issue during tests
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 11:47:16 -04:00
Dan Ryan 76576761c6 Allow incompatible links during hash lookup
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 11:47:00 -04:00
Dan Ryan d0181e3ab9 Update patched test
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-27 17:48:57 -04:00
Dan Ryan 580056f8ee Update license download script to accurately name licenses
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-27 17:04:15 -04:00
Dan Ryan ca1da4b295 Fix broken pip patch
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-27 16:59:53 -04:00
Dan Ryan 89eb67ef92 Rerun vendoring and remove extra files
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-27 16:58:11 -04:00
Dan Ryan ef54bfd725 Update versions of pip and piptools in patched.txt
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-27 15:30:50 -04:00
Dan Ryan 7744b6c43a Update piptools resolver creation
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-27 15:28:55 -04:00
Dan Ryan d8f0100c08 Update patches for pip and piptools
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-27 15:28:30 -04:00
Dan Ryan 3f9f359c0e Update pip and pip-tools to latest versions
- Update `pip => 20.0.2`
- Update `pip-tools => 5.0.0`
- Update relevant patches and re-apply

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-27 15:01:26 -04:00
Dan Ryan e3c3c59991 Merge pull request #4211 from peterblazejewicz/fix/pep425tags 2020-04-26 21:53:24 -04:00
Dan Ryan d8be535006 Update patch for pep425tags to include os import
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-26 15:55:20 -04:00