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

Test against Python 3.10.0-alpha.5 #35

Merged
merged 2 commits into from
May 22, 2021
Merged

Test against Python 3.10.0-alpha.5 #35

merged 2 commits into from
May 22, 2021

Conversation

macbre
Copy link
Contributor

@macbre macbre commented May 22, 2021

Re-apply #25 // @sondrelg

@macbre
Copy link
Contributor Author

macbre commented May 22, 2021

Run ./
/tmp/tmp.UNw8QVrbnh: line 1: 404:: command not found
Error: Process completed with exit code 127.

Getting strange error on CI runs - @sondrelg ?

@sondrelg
Copy link
Member

Of course there is

giphy (1)

I'll take a look

@sondrelg
Copy link
Member

Fix incoming 😊 Should be OK in ~30 mins

@sondrelg
Copy link
Member

If you rebase on main again it should pass 🤞 Or at least it shouldn't fail with the same error 😄

@macbre macbre changed the base branch from main to python3.10 May 22, 2021 18:55
@macbre macbre changed the base branch from python3.10 to main May 22, 2021 18:55
@sondrelg sondrelg merged commit 79a7c33 into snok:main May 22, 2021
@macbre macbre deleted the patch-1 branch May 22, 2021 20:25
@macbre
Copy link
Contributor Author

macbre commented May 22, 2021

Great! So we're waiting for a Poetry non-alpha release now?

macbre added a commit to macbre/sql-metadata that referenced this pull request May 22, 2021
@sondrelg
Copy link
Member

Yeah as long as nothing else comes up that needs fixing, I guess updating the latest default version is next, when 1.2 is released 🙂

@JWCook
Copy link

JWCook commented May 23, 2021

@sondrelg Confirmed working with python 3.10.0-beta.1, poetry 1.2.0a1, and install-poetry 1.1.6 in these three projects:

@sondrelg
Copy link
Member

Thanks a bunch @JWCook 👏

macbre added a commit to macbre/sql-metadata that referenced this pull request Oct 18, 2021
* CI - add Python 3.10

* Use 3.10.0-alpha

And actions/setup-python@v2

* Use 3.10.0-alpha.5

* Install Poetry via curl

* Run "source $HOME/.poetry/env"

* Update python-ci.yml

* Make poetry discoverable within $PATH

* pip install cleo

* Try "pip install --user poetry"

* Update python-ci.yml

* sudo ln -s ~/.local/bin/poetry /usr/local/bin/poetry

* Update python-ci.yml

* pip install wheel poetry

* pip install wheel

* Update python-ci.yml

* Update python-ci.yml

* Update python-ci.yml

* Update python-ci.yml

* Update python-ci.yml

* Install poetry via pip

* Add poetry.lock hash to the cache key

* Pre-install black

  EnvCommandError

  Command ['/home/runner/work/sql-metadata/sql-metadata/.venv/bin/pip', 'install', '--no-deps', '/home/runner/.cache/pypoetry/artifacts/64/08/ea/6fcac08da010d65557566f4f78be903d17d7f7ae66e7584e4334a8bb6e/dataclasses-0.8-py3-none-any.whl'] errored with the following return code 1, and output: 
  Processing /home/runner/.cache/pypoetry/artifacts/64/08/ea/6fcac08da010d65557566f4f78be903d17d7f7ae66e7584e4334a8bb6e/dataclasses-0.8-py3-none-any.whl
  ERROR: Package 'dataclasses' requires a different Python: 3.10.0 not in '<3.7,>=3.6'

* pip install poetry==1.1.6

* Update python-ci.yml

snok/install-poetry#33 + snok/install-poetry#35

* 3.10.0-beta.3

* Use Poetry 1.1.7

* Use 3.10.0-beta.4

* 3.10.0-rc.1

* Python 3.10 has just been released!

https://docs.python.org/3/whatsnew/3.10.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants