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.9 beta adding source to tree #117

Closed
2 of 7 tasks
adamchainz opened this issue Jul 17, 2020 · 3 comments
Closed
2 of 7 tasks

Python 3.9 beta adding source to tree #117

adamchainz opened this issue Jul 17, 2020 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@adamchainz
Copy link

adamchainz commented Jul 17, 2020

Describe the bug

When adding 3.9.0-beta.4 (as announced in #20) to my project apig-wsgi (adamchainz/apig-wsgi#158), I got an error on 3.9 only from Pytest:


2020-07-17T11:06:44.2808745Z ==================================== ERRORS ====================================
2020-07-17T11:06:44.2809998Z _ ERROR collecting 9a5dbe51-7fe1-4ab4-89ee-1c8ead1d420a/lib/python3.9/test/test_capi.py _
...
2020-07-17T11:06:44.2816009Z E   AttributeError: 'builtin_function_or_method' object has no attribute '__dict__'

It looks like the Python 3.9 source tree is instaled inside my runner directory in a UUID-named directory, and pytest is searching that for tests.

I could tell pytest to not search that directory for tests, but I'm not sure there won't be other repercussions of the source tree being there for other tools. Not to mention this will probably affect any project using pytest.

Which version of the action are you using?

  • v1
  • v2
  • Some other tag (such as v2.0.1 or master)

Environment

  • self-hosted
  • Linux
  • Windows
  • Mac

If applicable, please specify if you're using a container

Python Versions

As above

To Reproduce

As above

Run/Repo Url

adamchainz/apig-wsgi#158

Screenshots

n/a

Additional context
n/a

@adamchainz adamchainz added the bug Something isn't working label Jul 17, 2020
@konradpabjan konradpabjan added duplicate This issue or pull request already exists and removed bug Something isn't working labels Jul 17, 2020
@konradpabjan
Copy link
Collaborator

This looks like a duplicate of #101 and #106

We're working on a fix. This effects all non-cached versions of Python that must be downloaded and installed during the run. If you're using cached versions that come preinstalled on our hosted runners (such as 3.8.3), this does not effect them.

@adamchainz
Copy link
Author

Thank you. I've subscribed to the relevant issues.

@MaksimZhukov
Copy link
Contributor

Hello @adamchainz !
We have provided a solution for this issue. Please see this issue for more details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants