Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.10 is taken as Python 3.1 in github action workflows #1989

Closed
ecedreamer opened this issue Jul 10, 2022 · 2 comments
Closed

Python 3.10 is taken as Python 3.1 in github action workflows #1989

ecedreamer opened this issue Jul 10, 2022 · 2 comments
Assignees
Labels
awaiting-customer-response bug Something isn't working

Comments

@ecedreamer
Copy link

Describe the bug
In github workflow file, I have written strategy: matrix: python-version: [3.8, 3.9, 3.10] . But 3.10 is understood as 3.1 . So its a clear bug since python 3.10 exists.

To Reproduce
Steps to reproduce the behavior:

  1. Go to actions and generate workflow for Django app.
  2. edit python-version including 3.10
  3. commit and raise a new PR to see the issue.

Expected behavior
Should recognize Python 3.10 as 3.10 not 3.1

@ecedreamer ecedreamer added the bug Something isn't working label Jul 10, 2022
@nikola-jokic
Copy link
Contributor

Hi @ecedreamer,

This issue is related to the way we parse yaml. You can reference this comment for further information: #849 (comment)

Since the value should be treated as a string, try adding ' around '3.10'.
Please, let us know if this solves your problem ☺️

@ecedreamer
Copy link
Author

Thanks @nikola-jokic , It worked. Good day 😊😊😊!!

invisibleroads added a commit to crosscompute/crosscompute that referenced this issue Nov 12, 2022
farirat added a commit to jookies/jasmin that referenced this issue Nov 27, 2022
Version is float: 3.10 is taken as 3.1.
c.f. actions/runner#1989
nishad added a commit to dcmi/dctap-python that referenced this issue Jan 9, 2023
Huite added a commit to Deltares/pandamesh that referenced this issue Mar 18, 2023
victor-paltz pushed a commit to criteo/autofaiss that referenced this issue Jun 5, 2023
TTycho added a commit to TTycho/django-rest-framework-csv that referenced this issue Jun 6, 2023
gwaybio added a commit to gwaybio/pycytominer that referenced this issue Jun 8, 2023
gwaybio added a commit to cytomining/pycytominer that referenced this issue Jun 11, 2023
…rt (#287)

* require greater than python3.8

* remove 3.7, add 3.10 and 3.11 to github actions

* close #259

* fix 3.10 version parsing in action actions/runner#1989

* bump read the docs python version

* update python versions in dev

* bump precommit version

* #279 (comment)
jyecusch added a commit to nitrictech/python-sdk that referenced this issue Jun 23, 2023
azeey added a commit to gazebo-tooling/gzdev that referenced this issue Jul 13, 2023
See actions/runner#1989

Signed-off-by: Addisu Z. Taddese <[email protected]>
Qwerty-133 added a commit to Qwerty-133/python-setup that referenced this issue Jul 14, 2023
azeey added a commit to gazebo-tooling/gzdev that referenced this issue Jul 18, 2023
* Use nightlies for Harmonic

* Update Actions and python versions

Python 3.6 is not available in ubuntu-latest (22.04).

* Quote python versions

See actions/runner#1989


---------

Signed-off-by: Addisu Z. Taddese <[email protected]>
stefanbschneider added a commit to stefanbschneider/mobile-env that referenced this issue Jul 20, 2023
Otherwise Py 3.10 is interpreted as 3.1:
actions/runner#1989
gcattan added a commit to IBM/p-kit that referenced this issue Aug 29, 2023
mjumbewu pushed a commit to mjumbewu/django-rest-framework-csv that referenced this issue Oct 24, 2023
sheikhomar added a commit to sheikhomar/paraglide that referenced this issue Nov 4, 2023
dragon-dxw added a commit to nationalarchives/ds-caselaw-data-enrichment-service that referenced this issue Nov 20, 2023
dragon-dxw added a commit to nationalarchives/ds-caselaw-data-enrichment-service that referenced this issue Nov 21, 2023
JoshuaLim995 added a commit to JoshuaLim995/adilo-api-client that referenced this issue Nov 29, 2023
JoshuaLim995 added a commit to JoshuaLim995/adilo-api-client that referenced this issue Nov 29, 2023
JoshuaLim995 added a commit to JoshuaLim995/adilo-api-client that referenced this issue Nov 29, 2023
JoshuaLim995 added a commit to JoshuaLim995/adilo-api-client that referenced this issue Nov 29, 2023
JoshuaLim995 added a commit to JoshuaLim995/adilo-api-client that referenced this issue Nov 29, 2023
JoshuaLim995 added a commit to JoshuaLim995/adilo-api-client that referenced this issue Nov 29, 2023
ge0Aja added a commit to DataDog/datadog-serverless-functions that referenced this issue Dec 7, 2023
Python 3.10 version is seen as 3.1 in github actions.
See actions/runner#1989
ge0Aja added a commit to DataDog/datadog-serverless-functions that referenced this issue Dec 12, 2023
Python 3.10 version is seen as 3.1 in github actions.
See actions/runner#1989
ge0Aja added a commit to DataDog/datadog-serverless-functions that referenced this issue Dec 14, 2023
* Support python versions 3.10, 3.11

* Remove a wrong rm statement from Dockerfile

* Fix python versions

* Update Itests

* Use strings for python versions in in yaml config files.

Python 3.10 version is seen as 3.1 in github actions.
See actions/runner#1989

* cleanup comments

* Update readme

* Support Python 3.10

Support Python version 3.10 for first version bump before adding support for Python 3.11

* Update python version range

* Fix CLI & Cloudformation python versions

* Fix Itests

- Use the correct python runtime for tester and recorder docker images
- Add a health check for the recorder service in the docker-compose file
- Update service dependency
- Pass the correct python runtime version when bundling the forwarder code for the Itests
- Remove unused docker files as we are using the image version in the compose file
Linbreux added a commit to Jerakin/wikmd that referenced this issue Feb 20, 2024
arne-cl added a commit to arne-cl/GraFT that referenced this issue Apr 5, 2024
julianharty added a commit to commercetest/guesslang that referenced this issue Apr 24, 2024
braully added a commit to braully/djangoSIGE that referenced this issue May 26, 2024
MichielTukker added a commit to Project-OMOTES/template-python that referenced this issue May 30, 2024
Python 3.10 is interpreted as 3.1 due to issue in yaml interpretation: actions/runner#1989
MichielTukker added a commit to Project-OMOTES/template-python that referenced this issue May 30, 2024
Python 3.10 is interpreted as 3.1 due to issue in yaml interpretation: actions/runner#1989
ZenithClown added a commit to sharkutilities/pandas-wizard that referenced this issue Aug 17, 2024
- due to yaml parsing, the version identifiers are quoted to avoid 3.10 to be treated as 3.1
- more information actions/runner#1989
mjziebarth added a commit to mjziebarth/DOOMERCAT that referenced this issue Aug 26, 2024
MrBr-github added a commit to MrBr-github/lshca that referenced this issue Nov 9, 2024
Following GH Actions issue actions/runner#1989
Adding single quotes around version numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-customer-response bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants