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 alphas? #150

Closed
The-Compiler opened this issue Oct 7, 2020 · 3 comments
Closed

Python 3.10 alphas? #150

The-Compiler opened this issue Oct 7, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@The-Compiler
Copy link

Based on this in the readme:

If there is a specific version of Python that is not available, you can open an issue here

I'd like to request support for the Python 3.10.0 Alpha 1 which was recently released - that is, unless it's intended to only support Betas for pre-releases and not Alphas.

The reason I'm asking is that the project I'm developing parses annotations for functions and those change to being lazily evaluated by default (PEP 563 -- Postponed Evaluation of Annotations). I'd like to test compatibility with that change as early as possible, and I unfortunately can't use from __future__ import annotations because that's not supported on Python 3.6.

@The-Compiler The-Compiler added the bug Something isn't working label Oct 7, 2020
@konradpabjan konradpabjan added enhancement New feature or request and removed bug Something isn't working labels Oct 13, 2020
@dmitry-shibanov
Copy link
Contributor

Hello @The-Compiler , python 3.10.0a1 was added and you can use it by this snippets:

- uses: actions/setup-python@v2
  with:
    python-version: '3.9.0 - 3.10.0-alpha.1'

or

- uses: actions/setup-python@v2
  with:
    python-version: '3.10.0-alpha.1'

@nulano
Copy link

nulano commented Oct 14, 2020

3.10-dev also works:

setup-python/dist/index.js

Lines 6792 to 6801 in 878156f

/** Convert versions like `3.8-dev` to a version like `>= 3.8.0-a0`. */
function desugarDevVersion(versionSpec) {
if (versionSpec.endsWith('-dev')) {
const versionRoot = versionSpec.slice(0, -'-dev'.length);
return `>= ${versionRoot}.0-a0`;
}
else {
return versionSpec;
}
}

@The-Compiler
Copy link
Author

Amazing, thanks! Closing this then. I can't really test it right now because I'm running into pypa/wheel#354 but that'll hopefully be resolved soon as well.

sergeyklay added a commit to sergeyklay/gstore that referenced this issue Jan 3, 2021
sergeyklay added a commit to sergeyklay/gstore that referenced this issue Jan 3, 2021
thesamesam added a commit to thesamesam/portage that referenced this issue Mar 20, 2023
Per actions/setup-python#150, we can just do
3.12-dev and such.

Signed-off-by: Sam James <sam@gentoo.org>
gentoo-bot pushed a commit to gentoo/gentoolkit that referenced this issue Mar 20, 2023
Per actions/setup-python#150, we can just do
3.12-dev and such.

Signed-off-by: Sam James <sam@gentoo.org>
thesamesam added a commit to thesamesam/portage that referenced this issue Mar 20, 2023
Per actions/setup-python#150, we can just do
3.12-dev and such.

Signed-off-by: Sam James <sam@gentoo.org>
gentoo-bot pushed a commit to gentoo/portage that referenced this issue Mar 20, 2023
Per actions/setup-python#150, we can just do
3.12-dev and such.

Signed-off-by: Sam James <sam@gentoo.org>
stanislaw added a commit to mull-project/FileCheck.py that referenced this issue Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants