Commit Graph

19 Commits

Author SHA1 Message Date
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
Matthieu Darbois 29394d0042
fix: use environment variable for `PIP_ROOT_USER_ACTION` (#259)
Some checks are pending
CodeQL analysis / CodeQL analysis (push) Waiting to run
The option does not exists in every pip version, using the environment variable allows for pip not to fail in this case.
2024-04-24 22:44:10 -05:00
Matthieu Darbois 6d04944fbd
feat: build macOS arm64 packages (#214) 2023-05-17 13:58:51 +02:00
Dmitry Shibanov b539ede4c3
add root-user-action=ignore and check for .complete file (#223) 2023-03-09 11:18:26 +01:00
MaksimZhukov 93c66279f2
Update a comment
Co-authored-by: Marko Zivic <100996310+marko-zivic-93@users.noreply.github.com>
2022-11-28 12:07:33 +01:00
MaksimZhukov 14f269ec5f Switch Python generation from macOS 10.15 to 11 2022-11-28 10:54:51 +01:00
Matthieu Darbois 1e1d9f9032
fix: setup OpenSSL certificates in `macos-pkg-setup-template.sh` (#189)
The macOS pkg installer does not setup default certificates for OpenSSL.
A script is provided by the macOS pkg installer to setup those using the certifi PyPI package.
Let's run this script as part of the setup template in order to be able to do HTTPS downloads out of the box.
2022-10-03 10:13:05 +02:00
Sergey Dolin 3b05f53807
Instal osx python from prebuilt packagese (#184)
* Download osx packages and setup script

* install from pkg for 3.11 only

* More debug

* More debug

* fix version check

* New-Item build_output.txt

* installationTemplateLocation

* fix version

* fix beta version

* fix building from source

* fix building from source

* fix pkg name

* fix setup.sh

* fix test

* Fix config test with semver

* Fix PYTHON_MAJOR_MINOR

* migrate from .format to interpolation

* add PYTHON_FRAMEWORK_PATH variable

* improve pkg condition
2022-09-15 10:31:47 +02: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
Ray ae7e50b370
Test registry path before invoking Get-ChildItem (#95) 2021-05-25 10:26:11 +03:00
Vladimir Safonkin de3f713ccc Create python3 symlink on Windows 2021-01-21 11:02:09 +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
Maxim Lobanov 2a3a8176d7
Update platform for new version manifest generator (#29)
* Update build-python-packages.yml

* update platforms

* fix platform conditions

* add clean up
2020-06-03 20:38:34 +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
Maksim Petrov 76790a5af2
Fix Windows Python package uninstallation (#19) 2020-04-29 23:06:00 +03:00
Maxim Lobanov c641695f6a mplement script to build and prepare packages for Python 2020-04-29 10:57:27 +03:00