Kurt von Laven
ffcd00020c
Allow python-version-file
to be a relative path ( #431 )
2022-06-20 16:04:59 +02:00
Brian Cristante
cf86e08a31
Revert "Pass the token
input through on GHES ( #427 )" ( #437 )
...
This reverts commit 7e4abae443
.
2022-06-16 11:08:06 -04:00
Hugo van Kemenade
8fb4cbf7c8
README: Document pypy2 and pypy3 are deprecated ( #265 )
2022-06-15 14:03:21 +02:00
Brian Cristante
7e4abae443
Pass the token
input through on GHES ( #427 )
...
* Pass the`token` input through on GHES
* Update the description for `token`
* Fix dist files
* Update package-lock.json
* Update README
* Fix indent level in YAML snippet
* secret names can't start with GITHUB_
2022-06-13 14:55:47 -04:00
Marko Zivic
813f9b1556
Merge pull request #423 from vsafonkin/v-vsafonkin/update-docs-v4
...
Update docs to v4 version
2022-06-09 10:56:24 +02:00
Vladimir Safonkin
775367df99
Update docs to v4 version
2022-06-09 09:54:52 +02:00
Matthieu Darbois
d09bd5e600
fix: 3.x-dev can install a 3.y version ( #417 )
...
* fix: 3.x-dev can install a 3.y version
* Update README section for `-dev`
2022-06-08 14:58:05 +02:00
Ivan
f72db171ab
Made env.var pythonLocation consistent for Python and PyPy ( #418 )
...
* Change find-pypy.ts to redefine pythonLocaction environment variable
* Change README.md in order to add sentence about pythonLocation envvar
* Change sentence about pythonLocation envvar in README.md
* Rephrase the definition of pythonLocation env.var
2022-06-08 14:57:23 +02:00
Eric Wieser
82009b3bde
Use a better python problem matcher
...
The old matcher only worked if the error was raised with `raise Exception('single quotes')`.
This represents a miniscule fraction of errors; for instance, `l[37]` on a short list `l` can raise `IndexError`, and any call to a builtin C function is not going to trace back to a `raise` call.
Instead, this just matches the first line without fail that comes after the context line.
Note that this is still not foolproof; in Python 3.10, `SyntaxError`s are produced as
```
File "<stdin>", line 1
foo(x, z for z in range(10), t, w)
^^^^^^^^^^^^^^^^^^^^
SyntaxError: Generator expression must be parenthesized
```
This matcher will incorrectly pick up ` ^^^^^^^^^^^^^^^^^^^^` as the error message, but the previous behavior was to not pick up any error message at all.
As far as I can tell, this is impossible to handle correctly; the grammar of problem matchers is far too limiting.
2022-06-07 18:21:56 +01:00
Andrew DiLosa
53e15292cd
add support for python-version-file ( #336 )
...
* add support for python-version-file
* Update action.yml
* update to v4, remove python-version default
* python-version overrides python-version-file, like setup-node
* checks '.python-version' by default if nothing else specified
* update tests, update to checkout@v3
* update build
* appease the linter
* remove old test for default python version
* revert readme changes
* update build
2022-06-02 16:37:57 +02:00
Dmitry Shibanov
3f82819745
Fix output for prerelease version of poetry ( #409 )
2022-05-31 15:48:54 +02:00
Dmitry Shibanov
397252c582
Update zeit/ncc to vercel/ncc ( #393 )
2022-05-31 12:56:29 +02:00
Marko Zivic
de977ad132
Merge pull request #412 from vsafonkin/v-vsafonkin/fix-poetry-cache-test
...
Fix e2e test for poetry cache and PyPy-3.7
2022-05-31 09:41:08 +02:00
Vladimir Safonkin
22c6af91ce
Change PyPy version to rebuild cache
2022-05-30 15:02:04 +02:00
Marko Zivic
081a3cf1a5
Merge pull request #405 from mayeut/interpreter-path
...
feature: add a `python-path` output
2022-05-25 11:02:46 +02:00
mayeut
ff706563d7
feature: add a python-path
output
...
Expose a `python-path` output containing the chosen Python executable path.
2022-05-24 21:02:03 +02:00
Matthieu Darbois
fff15a21cc
Use pypyX.Y for PyPy python-version input ( #349 )
...
This versioning scheme is consistent with other
tools in the python ecosystem so it feels more natural
and allows better interaction with other tools.
fixes #346
2022-05-18 15:20:53 +02:00
Marko Zivic
c57f79353b
Merge pull request #318 from neutrinoceros/document_dev_sugar
...
DOC: document -dev syntactic sugar
2022-05-06 13:03:34 +02:00
Marko Zivic
fd8f0a9fb8
Merge pull request #396 from akv-platform/v-sedoli/issue-241
...
Add warning if python version set to empty value
2022-05-04 15:21:43 +02:00
Marko Zivic
ae11205ec6
Merge pull request #400 from akv-platform/v-sedoli/pkg-config
...
set PKG_CONFIG_PATH environment var
2022-05-04 09:56:28 +02:00
Sergey Dolin
8f73c1495f
Formatting
2022-05-04 12:55:36 +05:00
Sergey Dolin
e31727ce0a
Improve warning message
...
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2022-05-04 12:43:58 +05:00
Brian Cristante
a69041ca9f
Successfully set up ( #399 )
2022-05-03 08:43:53 -04:00
Sergey Dolin
5e1e05c694
set PKG_CONFIG_PATH environment var
2022-05-03 16:04:39 +05:00
Sergey Dolin
0b56b76337
Improve wording
2022-04-29 12:49:49 +05:00
Sergey Dolin
22daa094b8
Add generated files
2022-04-29 09:29:36 +05:00
Sergey Dolin
ac4e858835
Add warning if python version set to empty value
2022-04-29 09:14:59 +05:00
Matthieu Darbois
1ce308808a
Create missing pypyX.Y
symlinks ( #347 )
...
`pypyX.Y.exe` executables are missing from PyPy archives on Windows before v7.3.9 (X.Y < 3.9)
`pypy2.7` symlinks are also missing from macOS/Linux PyPy archives before v7.3.9
relates to #346
2022-04-28 09:26:17 -04:00
Dmitry Shibanov
c36dc43e7b
Fix conflicts ( #389 )
2022-04-26 16:50:29 +02:00
Marko Zivic
4e6b5f40fc
Merge pull request #384 from akv-platform/main
...
Add CODE_OF_CONDUCT
2022-04-21 08:59:12 +02:00
Sergey Dolin
bcc31375e1
Throw exe on empty python-version
2022-04-21 08:19:23 +05:00
Sergey Dolin
85a7430316
Merge branch 'actions:main' into main
2022-04-21 08:16:01 +05:00
Dmitry Shibanov
6a4c6c1309
adjust documentation for python versions ( #388 )
2022-04-20 14:48:22 +02:00
Sergey Dolin
3a63f5d525
Merge branch 'actions:main' into main
2022-04-20 12:09:38 +05:00
Vladimir Safonkin
4a33d3c467
Merge pull request #387 from vsafonkin/v-vsafonkin/fix-readme-outdated-links
...
Fix virtual-env toolcache outdated links
2022-04-19 17:06:22 +03:00
Vladimir Safonkin
abfd16b121
Fix virtual-env toolcache links
2022-04-19 15:21:09 +02:00
Sergey Dolin
4176166af9
Add CODE_OF_CONDUCT
2022-04-18 16:04:39 +05:00
Marko Zivic
91712e11bb
Merge pull request #338 from akv-demo/main
...
Force TOOLCACHE_ROOT to be equal AGENT_TOOLSDIRECTORY
2022-04-15 09:54:33 +02:00
Deepak Dahiya
98f2ad02fd
Updated @actions/cache ( #382 )
2022-04-11 19:06:33 +05:30
Oscar Dominguez
5d6f0c8a87
ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows ( #379 )
2022-04-07 12:16:24 +02:00
Sergey Dolin
f4b66dec00
Merge branch 'actions:main' into main
2022-04-06 12:51:31 +05:00
Alexey
21c0493ecf
Cache hit output ( #373 )
...
* Remove useless await in getCacheDistributor calls
* Added cache-hit output
* Build action with cache-hit output
* Remove PromiseReturnType, add matchedKey == primaryKey check
* Update cache-distributor.ts
* Fix tests and rebuild
2022-04-05 09:57:13 -04:00
Sergey Dolin
7933d5a3dd
Add pyton-version to setup PyPy output ( #365 )
...
* Add pyton-version to setup PyPy output
* remove new line from pypy version
* Move setOutput to findPyPyVersion
* Resolve conflict: 2
2022-04-04 13:12:56 -04:00
Vladimir Safonkin
7885ec3539
Rework pipenv caching test ( #375 )
...
* Rework python-pipenv-dependencies-caching test
* Update Pipfile.lock hash in the tests
* Rework python-pipenv-dependencies-caching-path test
* Set location for pipenv test
* Remove requests package from tests
* Test pipenv without caching
* Enable pipenv cache
2022-04-04 09:12:24 -04:00
Shubham Tiwari
9c644ca2ab
Update README.md to fix setup-python version in example ( #368 )
2022-04-01 13:20:54 +02:00
Shubham Tiwari
3e8e90edf0
dist fix ( #367 )
2022-04-01 12:54:05 +02:00
Shubham Tiwari
05fb98de9a
Cache on ghes ( #363 )
...
* initial changes
* updated version
* format check
* refactored code
* updated test cases
* Update src/utils.ts
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
* Update utils.ts
* Update utils.test.ts
* review comments
* dist update
* Review comment
* update version
* updated version
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2022-03-31 15:11:27 -04:00
Brian Cristante
6c566026c0
Merge pull request #281 from patrick91/feature/poetry-caching
...
Add poetry caching support
2022-03-31 13:27:09 -04:00
Brian Cristante
9516be869f
Merge pull request #358 from actions/brcrista/codeql-main
...
Run CodeQL only on pushes to main
2022-03-31 10:54:02 -04:00
Patrick Arminio
7aa3e95001
Update dist
2022-03-30 16:47:06 -05:00