Commit Graph

9 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 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