Chris Gavin
3c494fdd7a
Prevent accidental analysis of the get-pip.py script.
2020-12-22 14:16:57 +00:00
Chris Gavin
6156eb9557
Install Python 3 tools before installing Python 2 tools.
2020-12-07 13:59:49 +00:00
Florian Bruhin
b168eee469
Make sure a Python 2 pip is installed
...
In the README of this repo, it's suggested to use the `ubuntu-latest` environment.
That environment will soon be upgraded to Ubuntu 20.04: https://github.com/actions/virtual-environments/issues/1816
As pointed out in that issue, the updated image comes without a Python 2 pip preinstalled:
Setup Python dependencies
/home/runner/work/_actions/github/codeql-action/v1/python-setup/install_tools.sh
[...]
+ python2 -m pip install --user --upgrade pip setuptools wheel
/usr/bin/python2: No module named pip
Warning: Unable to download and extract the tools needed for installing the python dependecies. You can call this action with 'setup-python-dependencies: false' to disable this process.
2020-11-20 16:48:43 +01:00
David Verdeguer
c860191a1a
Run python deps tests on mac
2020-10-19 12:21:21 +02:00
David Verdeguer
e0f78380e3
Merge branch 'main' into daverlo/python-windows
2020-10-15 12:12:50 +02:00
David Verdeguer
7d1f309c39
Address comments
2020-10-15 11:56:40 +02:00
David Verdeguer
2c3dafc162
Use sys.executable
2020-10-14 10:54:41 +02:00
David Verdeguer
0d97ea8f14
Call pipenv and poetry through python
2020-10-13 17:38:53 +02:00
Rasmus Wriedt Larsen
64ebf10c1d
Don't use ::set-env in python-setup
...
Is now deprecated as described in
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-10-08 16:12:40 +02:00
David Verdeguer
9bc8c56ef0
Add missing [
2020-10-08 12:17:28 +02:00
David Verdeguer
424a9cfa1c
Apply suggestions from code review
...
Co-authored-by: Arthur Baars <aibaars@github.com >
2020-10-08 11:59:35 +02:00
David Verdeguer
e97bdbdfac
Combine auto_install scripts
2020-10-07 12:55:02 +02:00
David Verdeguer
74afd3c373
Port python deps setup to windows
2020-10-06 14:14:12 +02:00
David Verdeguer
4e39b768c7
Remove tests that should fail
2020-09-29 10:33:25 +02:00
David Verdeguer
5e2245cc23
Add x permission to the test scripts
2020-09-29 10:06:06 +02:00
David Verdeguer
67ddca1d9c
Add workflow for testing python setup
2020-09-29 09:57:29 +02:00
Rasmus Wriedt Larsen
18312707fe
Explain get_extractor_version for python setup scripts
2020-09-25 12:07:22 +02:00
Rasmus Wriedt Larsen
dffce9945c
Minor fixes to python installation scripts based on code review
2020-09-24 15:43:34 +02:00
Rasmus Wriedt Larsen
6645c550ef
Apply suggestions from code review
...
Co-authored-by: Marco Gario <marcogario@github.com >
2020-09-24 15:36:00 +02:00
Rasmus Wriedt Larsen
1b20fa78be
Handle error in poetry 1.0.10
2020-09-11 12:40:40 +02:00
Rasmus Wriedt Larsen
7fc41c62be
Update python scripts to handle setup.py
2020-09-11 12:40:40 +02:00
David Verdeguer
5701037850
Add python scripts
2020-09-11 12:25:47 +02:00