Commit Graph

11 Commits

Author SHA1 Message Date
Matthieu Darbois 37e7166250
fix: always reinstall pip (#271)
* fix: always reinstall pip

If the default pip version is also the latest one,
then the `pip` executable will be missing as the default pip
is installed only as `pip3`/`pip3.x`.

In order to always provide a `pip` executable, always reinstall pip.

* chore(ci): change default version to 3.12.3

Default to the latest stable version.
2024-05-09 08:58:58 -05:00
Matthieu Darbois 7c3d29faf2
fix: use `--upgrade` rather than `--ignore-installed` to upgrade pip (#268)
* fix: use `--upgrade` rather than `--ignore-installed` to upgrade pip

This removes left over files when upgrading pip.

* remove all installed python on macOS
2024-05-08 08:32:38 -05:00
Matthieu Darbois 2573fc9af9
fix: use environment variable for `PIP_ROOT_USER_ACTION` (#265)
Some checks are pending
CodeQL analysis / CodeQL analysis (push) Waiting to run
* fix: error out on install failure in "Apply build artifact to the local machine" step

* fix: error out on pip installation / update failure

* fix: use environment variable for `PIP_ROOT_USER_ACTION`

This extends the fix from #259 since every platform for 3.8.10 / 3.9.13 has been rebuilt instead of just macOS arm64 being added.

The regression was introduced in #223
2024-04-29 08:32:44 -05:00
Dmitry Shibanov b539ede4c3
add root-user-action=ignore and check for .complete file (#223) 2023-03-09 11:18:26 +01:00
Hugo van Kemenade 641a2765a7
When upgrading pip, don't warn there's a new version of pip available (#117) 2021-10-18 14:37:19 +03:00
Dmitry Shibanov f102cb2a16 add flag to skip warnings of location of pip 2021-01-11 11:29:39 +03:00
MaksimZhukov 5c851d6172
Add support for unstable Python versions (#38)
* Add support of unstable versions to package generation (#2)
* Add support of symver versions to Python setup scripts and tests

Co-authored-by: Maksim Petrov <47208721+vmapetr@users.noreply.github.com>
Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
Co-authored-by: Maxim Lobanov <v-malob@microsoft.com>
2020-07-15 13:13:21 +03:00
Konrad Pabjan 1c756eb429
Update nix-setup-template comments (#24)
* Update nix-setup-template.sh

* Update installers/nix-setup-template.sh

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2020-05-08 18:07:16 +03:00
Martijn Pieters f75c0e6e4b
There is no AGENT_TOOLSDIRECTORY on GitHub images (#21)
This change reflects what the Windows installer already does:  c0e7ef2c3c/installers/win-setup-template.ps1 (L82-L87)
2020-05-05 14:07:17 +03:00
Maxim Lobanov e6805b9e59
Rework replacement function for installer to use the same pattern like windows (#22)
* rework replacement function to use the same pattern like windows

* remove old replacement
2020-05-05 09:44:58 +03:00
Maxim Lobanov c641695f6a mplement script to build and prepare packages for Python 2020-04-29 10:57:27 +03:00