Commit Graph

413 Commits

Author SHA1 Message Date
Frost Ming fd53d72d60 Merge branch 'master' into doc/brew 2020-08-28 20:58:55 +08:00
frostming edeaffba94 add news fragment 2020-08-28 16:48:52 +08:00
frostming eac3a28579 add news 2020-08-28 15:38:38 +08:00
frostming f49a1dd873 Fix constraint validation 2020-08-28 14:21:52 +08:00
Frost Ming 45d9332cc0 Update dependency tomlkit 2020-08-27 20:35:25 +08:00
frostming 35485b4488 Fix path handling on Windows 2020-08-27 16:10:41 +08:00
frostming 7acce5d6ad add news 2020-08-14 14:36:06 +08:00
Frost Ming 9299ae1f73 Release v2020.8.13 2020-08-13 21:23:50 +08:00
frostming 0616e07835 fix news 2020-08-13 21:23:31 +08:00
frostming 71a9332562 Add news fragments 2020-08-12 15:52:30 +08:00
Frost Ming 21052a5494 Merge branch 'master' into master 2020-08-05 17:03:15 +08:00
helloc a159b7220b add a news fragment of bugfix 4388 2020-08-05 16:48:27 +08:00
frostming e97e28434f only show courtesy notice when venv is activated 2020-08-05 11:49:45 +08:00
frostming 67a20395f5 add news entry 2020-07-10 16:16:48 +08:00
Frost Ming 4f7bb36f92 Correct the exception to PipenvUsageError 2020-06-06 10:59:29 +08:00
Frost Ming e4dfc472e6 Merge branch 'master' into 3722/fix-all-dev-uninstalls-shared-dependencies 2020-06-05 14:45:47 +08:00
frostming cce026efbf Correctly populate the system python path 2020-06-05 09:03:07 +08:00
Nico Stapelbroek 6b437a6140 Stop using PYVENV_LAUNCHER env variable when detecting venvs
This seems to lead to false positives as every Homebrew installed Python has
this environment variable set. The original comment hints to a workaround so
I'd figured we should not give it extra responsibilities.

Fixes #4316
2020-06-04 09:32:06 +02:00
Marcin b2f1d741a1 Add news file 2020-06-03 04:55:47 +02:00
Dan Ryan a44b9828bd Release v2020.6.2 2020-06-02 02:10:53 -04:00
Phil Chennikkara 1689485de1 Print installer class name instead of object reference 2020-06-01 19:43:33 -05:00
Phil Chennikkara 3de5df390e Fix bug where _isatty doesn't work on fileno() 2020-06-01 19:39:39 -05:00
Dan Ryan aacc638b03 Update news fragments
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-06-01 18:22:43 -04:00
Dan Ryan 331c54a5b5 Clean up linter errors and add missing news items
- Clean up linter errors
- Fix py2 compatibility issues in `installers`
- Fix whitespace issues, unused imports
- Add a bunch of type hints
- Add missing news entries

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-06-01 18:22:43 -04:00
Dan Ryan d58f578781 Parse package names from functions in setup.py
- Upstream update to parse package names from unresolveable function
  calls in `setup.py`
- Fixes #4292

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-06-01 16:07:26 -04:00
frostming da575eead1 Add news entry 2020-06-01 22:09:27 +08:00
Frost Ming 8b319340f8 Merge branch 'master' into bugfix/4286 2020-05-29 18:49:26 +08:00
Frost Ming 265ba92225 Merge branch 'master' into bugfix/4276-add-robustness 2020-05-29 17:25:35 +08:00
Frost Ming 193cab877a Merge branch 'master' into bugfix/4273 2020-05-29 15:10:43 +08:00
Dan Ryan 4d1d671e44 Merge branch 'master' into bugfix/4286 2020-05-29 02:25:22 -04:00
Dan Ryan 95e83a3403 Add missing import and fix function calls in cli
- Add missing `PipenvOptionsError` import to `pipenv.cli.command`
- Fix calls to `click.echo` (should be just `echo`)
- Fixes #4286

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-29 02:03:05 -04:00
Dan Ryan faf16b4394 Merge branch 'master' into bugfix/4276-add-robustness 2020-05-29 01:55:23 -04:00
Dan Ryan fc50e6dbe7 Improve virtualenv and venv detection
- Virtualenv and venv detection depends on more than just an envvar
- Add improved detection mechanisms to `is_in_virtualenv()` function

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-29 01:53:47 -04:00
frostming 08ec79d5db fix filename 2020-05-29 13:40:50 +08:00
frostming af649b2b86 Fix incorrect environment when inside venv 2020-05-29 13:35:56 +08: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
Frost Ming f6567bb328 add news entry 2020-05-29 11:03:30 +08: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 472618cf0d Release v2020.5.28 2020-05-28 00:04:32 -04:00
Dan Ryan df664f2784 Add patch to update attrs import paths and add news entry.
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-27 19:57:02 -04:00
Dan Ryan a67882cf5d Fix improper restructured text code escape syntax
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-20 16:11:44 -04:00
Dan Ryan 562dcaae4b Merge branch 'master' into issue-3316-lock-all-deps-with-dev 2020-05-20 11:39:55 -04:00
Dan Ryan ce5499db0f Added news entry
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-20 09:57:52 -04:00
Dan Ryan ff91fa958a Merge branch 'master' into issue-3316-lock-all-deps-with-dev 2020-05-20 02:49:42 -04:00
Dan Ryan 8f3ba7eded Add missing news entry
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 19:50:35 -04:00
Dan Ryan 5c95ec9b9b Load the pip version from the correct prefix
- Respect `--system` when it is supplied during install
- Fixes #4220

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 19:49:32 -04:00
Dan Ryan f051d348f5 Skip satisfied dependencies during installation
- Skip satisfied dependencies in the environment during install
  by checking whether the constraint of a specifier is satisfied
- If there is no specifier and a dependency is installed, assume it
  is satisfied
- For editable dependencies, if the dependency in the environment is
  an egg link and points at the same path as the given dep, assume
  it is satisfied
- Fixes #3057

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 16:47:02 -04:00
Dan Ryan edf79f7132 Fix resolution of direct url subdependencies
- Fix resolution of direct url VCS subdependencies (e.g. top level dep
  depends on a VCS direct url subdependency) which rely on subdirectory
  resolution
- Fixes #3976

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 09:56:54 -04:00
Dan Ryan 19bbb5e2e1 Merge branch 'master' into bugfix/4226 2020-05-17 01:15:48 -04:00
Dan Ryan 5a7ed8ff57 Parse requires-python values of old pythons
- Parse `Requires-Python` values specifying constraint versions of
  python starting from `1.x`
- Requires updated vendored dependencies including `vistir` and
 `requirementslib`:
  - **requirementslib** `1.5.8` => `1.5.9`
  - **vistir** `0.5.0` => `0.5.1`
  - **jinja2** `2.11.1` => `2.11.2`
  - **click** `7.1.1` => `7.1.2`
  - **dateutil** `(none)` => `2.8.1`
  - **backports.functools_lru_cache** `1.5.0` => `1.6.1`
  - **enum34** `1.1.6` => `1.1.10`
  - **toml** `0.10.0` => `0.10.1`
  - **importlib_resources** `1.4.0` => `1.5.0`

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-16 15:26:50 -04:00