You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for pip flags: --trusted-host and --extra-index-url (#10)
May be set in python extension or directly for pip tasks (extraIndexUrls, trustedHosts). Flags applied only to compatible pip commands.
Allow dashes in vcs module name (for example, now it is possible to specify #egg=my-module-11.2).
NOTE: This may lead to problems with versions also containing dashes (1.1-alpha.1), but it may be easily changed manually (to version without dashes: 1.1.alpha.1)
Move python configuration options from PythonTask to BasePythonTask: pythonArgs, environment, workDir, logLevel. Now pip tasks could use these options to fine tune python execution (under pip call).
NOTE: extraArgs was not moved because exact tasks (like pipInstall) could perform multiple commands calls and applying args to all of them is not correct (most likely, fail the build). Instead, tasks must implement their own support for additional args.
Add free options to pipInstall: pipInstall.options('--upgrade-strategy', 'only-if-needed'). It is not possible to support every possible pip flag with api so this manual customization is required to cover wider range of use-cases.
Fix gradle deprecation warnings on some tasks properties (#9)
Add environment variables configuration in extension: python.environment 'SAMPLE', 'value'
Fix checkPython execution when running from daemon (gradle work dir may differ from project root: confirmed case with gradle 6 on java 11).
Use relative path to virtualenv when possible instead of always absolute