Frost Ming
6a221cf732
Don't share project objects but create own
2021-07-30 12:31:43 +08:00
Frost Ming
6ef9344a5f
Avoid wait() on processes
2021-07-29 14:42:52 +08:00
Frost Ming
9b4eb98529
Remove unused patch files
2021-07-28 17:30:17 +08:00
Frost Ming
a82bbb7b27
Try switching from delegator to subprocess
2021-07-28 16:39:36 +08:00
Frost Ming
ca5d931f1f
Update to py36 plus syntax
2021-07-28 10:59:00 +08:00
Frost Ming
dcd06330e4
Update pythonfinder to 1.2.8
2021-07-27 15:11:29 +08:00
Frost Ming
fac3eaeaa7
Revendor packages and update patches
2021-07-27 09:45:57 +08:00
Frost Ming
c863ca1a4b
Remove unused submodules
2021-07-26 23:35:27 +08:00
Frost Ming
306731cbe0
Update test cases according to the latest pip
2021-07-26 16:48:55 +08:00
Frost Ming
8c9039d0af
Remove passa from vendors
2021-07-26 15:41:19 +08:00
Frost Ming
6cdfa218cc
Update pypi artifacts
2021-04-23 10:02:40 +08:00
Isheros
dc882677e9
Added fix for bug 4141
2020-12-07 01:51:02 -06:00
Isheros
122379026a
Added a test for the bug
2020-12-07 01:48:42 -06:00
Frost Ming
e583f75a74
Change the pipfile format
2020-11-13 10:32:37 +08:00
Frost Ming
0a7235b12e
Add test case
2020-11-12 22:06:25 +08:00
Frost Ming
7fe01318f1
resolver take the missing dev argument
2020-11-10 17:26:56 +08:00
Frost Ming
466707bd85
Show waring about what happened when a dep is skipped
2020-11-09 12:34:44 +08:00
Frost Ming
698ef8cdd2
improve test performance
2020-11-02 11:11:57 +08:00
Frost Ming
e6edaa6977
Disable ssh check
2020-11-02 11:11:56 +08:00
Frost Ming
72b571bd06
Change multiple styles in CLI output
2020-11-02 11:11:54 +08:00
Frost Ming
4f4de7bcfe
Fix release tuple construction
2020-10-28 10:50:02 +08:00
Frost Ming
98fbe2fc5a
Supply sha256 checksum to mocked PyPI
2020-10-28 10:44:02 +08:00
Frost Ming
f0ebbfc443
Don't load packages from pypi
2020-10-27 17:42:26 +08:00
Glen Smith
243e300517
add inspection for 'which python'
2020-09-03 09:04:46 -06:00
Glen Smith
c42f6094e9
Change the script command to scripts
2020-09-02 10:35:20 -06:00
Glen Smith
0e90c37d9f
Merge remote-tracking branch 'upstream/master' into master
2020-09-02 10:18:55 -06:00
frostming
8c959096a8
Adapt test cases to prefer the mocked PyPI.
2020-09-01 16:35:37 +08:00
Frost Ming
7fc8fc8398
Create news entry
2020-09-01 14:09:39 +08:00
Glen Smith
622d119ea6
Fix script command and testing:
...
- Use string format compatible with python 2.7
- Use `click.echo`, not `print`
- The command is `pipenv script` not `pipenv scripts`
- The stanza label in Pipfile is `[scripts]`, not `[script]`
- The default when getting from the pipfile should be dict, not a list
2020-08-28 15:14:35 -06:00
Glen Smith
4e3baf5713
Fix command as script, not scripts
2020-08-28 12:15:52 -06:00
Glen Smith
07d166ac3b
Add a scripts command and a test for it.
...
- https://github.com/pypa/pipenv/issues/3686
2020-08-28 12:08:58 -06:00
Frost Ming
284bd24204
Tweak the test case to reflect correct behavior
2020-08-27 21:15:46 +08:00
Frost Ming
593a56625c
skip specific case on py27
2020-08-12 21:10:07 +08:00
Frost Ming
4f7bb36f92
Correct the exception to PipenvUsageError
2020-06-06 10:59:29 +08:00
Marcin
09a71e7c2c
Fix --all-dev behaviour
2020-06-03 04:45:39 +02:00
Gordon P. Hemsley
873beae567
#4278 : Don't pin wildcard versions in lockfile
...
Fixes bug introduced by 552d1274ea ,
which activated the (unused) changes made much earlier in
a08a2da524 .
2020-05-29 00:01:12 -04:00
Gordon P. Hemsley
0add59f499
#4279 : Stop test_ssh_vcs_install from failing
...
Remove expectation of `version` key in `test_ssh_vcs_install` to
stop it from failing.
Mirrors similar change to `test_git_vcs_install` in
243b4fd0df .
2020-05-28 12:48:28 -04:00
Dan Ryan
243b4fd0df
VCS version key removal
...
Signed-off-by: Dan Ryan <dan.ryan@canonical.com >
2020-05-19 14:47:56 -04:00
Dan Ryan
07a7c6110f
Remove version from VCS lock keys
...
Signed-off-by: Dan Ryan <dan.ryan@canonical.com >
2020-05-19 14:23:01 -04:00
Dan Ryan
befb29ceae
Update requirement parser and lockfile generation for vcs dependencies, fix test
...
Signed-off-by: Dan Ryan <dan.ryan@canonical.com >
2020-05-19 13:36:23 -04:00
Dan Ryan
c4f6b7f6f4
use normalized names in lockfile
...
Signed-off-by: Dan Ryan <dan.ryan@canonical.com >
2020-05-19 10:53:00 -04:00
Dan Ryan
1f96b8cf7d
Fix package name in test
...
Signed-off-by: Dan Ryan <dan.ryan@canonical.com >
2020-05-19 09:56:55 -04:00
Dan Ryan
1a8111d4bb
Clean up tests
...
Signed-off-by: Dan Ryan <dan.ryan@canonical.com >
2020-05-19 09:56:55 -04:00
Dan Ryan
a0f82865f8
Add tests for VCS pep508 subdependencies
...
Signed-off-by: Dan Ryan <dan.ryan@canonical.com >
2020-05-19 09:56:55 -04:00
Dan Ryan
ad7a514563
Fix test that has been broken for who knows how long...
...
Signed-off-by: Dan Ryan <dan.ryan@canonical.com >
2020-05-19 09:56:32 -04:00
Dan Ryan
03e12d4826
Update requirementslib
...
Signed-off-by: Dan Ryan <dan.ryan@canonical.com >
2020-05-18 16:08:52 -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
Tomas Orsava
de5cdf5949
Mark unit tests requiring network connection
2020-05-06 16:26:21 +02:00