Commit Graph

7156 Commits

Author SHA1 Message Date
frostming 69c5ceabf2 accepts python as argument 2020-06-05 09:03:08 +08:00
frostming cce026efbf Correctly populate the system python path 2020-06-05 09:03:07 +08:00
Frost Ming 76e55dfef3 Merge pull request #4317 from nstapelbroek/remove-osx-pyenv-launcher-variable
Stop using PYVENV_LAUNCHER env variable when detecting venvs
2020-06-05 09:00:20 +08:00
Marcin cb9d99c4ba Merge branch '3722/fix-all-dev-uninstalls-shared-dependencies' of github.com:Ponewor/pipenv into 3722/fix-all-dev-uninstalls-shared-dependencies 2020-06-04 12:01:45 +02:00
Marcin b0a89f833e Apply requested changes after PR 2020-06-04 12:01:21 +02: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 Mazurek 9f2b7eedfe Merge branch 'master' into 3722/fix-all-dev-uninstalls-shared-dependencies 2020-06-03 05:49:12 +02:00
Marcin b2f1d741a1 Add news file 2020-06-03 04:55:47 +02:00
Marcin 09a71e7c2c Fix --all-dev behaviour 2020-06-03 04:45:39 +02:00
Dan Ryan f1ad3f5f21 Remove incorrectly-located news fragment
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-06-02 19:15:30 -04:00
Github Action 1f19a2c150 Bumped version.
Signed-off-by: Github Action <action@github.com>
2020-06-02 06:17:53 +00:00
Dan Ryan a44b9828bd Release v2020.6.2 v2020.6.2 2020-06-02 02:10:53 -04:00
Dan Ryan c8a29ac5d7 Merge pull request #4306 from philjc/issue-4305 2020-06-01 23:11:02 -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 5549ee8c84 Merge pull request #4304 from pypa/feature/linting-cleanup 2020-06-01 19:32:04 -04:00
Dan Ryan e065e3c740 Update makefile with repatching scripts
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-06-01 18:22:43 -04: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 d69198c0fb Merge pull request #4303 from pypa/bugfix/4292
Parse package names from functions in setup.py
2020-06-01 17:22:55 -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
Dan Ryan 193a692ff1 Merge pull request #4302 from pypa/vendors/update 2020-06-01 11:17:07 -04:00
Dan Ryan 9fd963dcb8 Re-add pep514tools license
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-06-01 11:15:25 -04:00
frostming da575eead1 Add news entry 2020-06-01 22:09:27 +08:00
frostming 360c763ce4 Clean unneeded licenses 2020-06-01 22:01:56 +08:00
frostming 564ed68718 Update pythonfinder from 1.2.2 to 1.2.4 2020-06-01 21:47:06 +08:00
frostming c5d2129e2b Update requirementslib 2020-06-01 19:21:16 +08:00
Frost Ming f640fcba77 Merge pull request #4287 from pypa/bugfix/4286
Add missing import and fix function calls in cli
2020-05-29 20:51:03 +08:00
Frost Ming 8b319340f8 Merge branch 'master' into bugfix/4286 2020-05-29 18:49:26 +08:00
Frost Ming b374f85941 Merge pull request #4285 from pypa/bugfix/4276-add-robustness
Improve virtualenv and venv detection
2020-05-29 18:48:19 +08:00
Frost Ming 265ba92225 Merge branch 'master' into bugfix/4276-add-robustness 2020-05-29 17:25:35 +08:00
Frost Ming a17a9abfd8 Merge pull request #4275 from pypa/bugfix/4273
Don't check against root directory
2020-05-29 17:25:01 +08:00
Frost Ming 193cab877a Merge branch 'master' into bugfix/4273 2020-05-29 15:10:43 +08:00
Frost Ming a8bf65a2c9 Merge pull request #4284 from pypa/bugfix/4276
Fix incorrect environment when inside venv
2020-05-29 15:10:15 +08:00
Dan Ryan 4d1d671e44 Merge branch 'master' into bugfix/4286 2020-05-29 02:25:22 -04:00
frostming dffcac1233 Only ignore errors for CI builds 2020-05-29 14:18:13 +08: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
frostming ac0e152a80 Ignore errors removing user cache dir 2020-05-29 13:01:53 +08:00
Frost Ming 800155f8e4 Merge pull request #4283 from GPHemsley/issue-4278
#4278: Don't pin wildcard versions in lockfile
2020-05-29 12:58:45 +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
frostming 3f4abadac2 Use InstallCommand to fetch options 2020-05-29 11:03:30 +08:00
Frost Ming f6567bb328 add news entry 2020-05-29 11:03:30 +08:00
Frost Ming bad0846246 Don't check against root directory 2020-05-29 11:03:30 +08:00
Dan Ryan b5becd8f3b Merge pull request #4280 from GPHemsley/issue-4279
#4279: Stop test_ssh_vcs_install from failing
2020-05-28 21:16:51 -04:00
Dan Ryan e0017e82ab Merge branch 'master' into issue-4279 2020-05-28 21:16:43 -04:00
Dan Ryan 789b334ea0 Merge pull request #4277 from brainwane/releaseprocess 2020-05-28 21:12:24 -04:00