GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pyproject: Drop python 3.6 by tony · Pull Request #5055 · python-poetry/poetry

Conversation

@tony

@tony tony commented Jan 18, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Resolves: #4997

Pull Request Check List

  • Requires Deprecate Python 3.6 poetry-core#263
  • See also: Deprecate Python 3.6 install.python-poetry.org#11

Resolves: #4997

  • Added tests for changed code.
  • Updated documentation for changed code.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Prasanna4743 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@neersighted

neersighted commented Jan 18, 2022

Copy link
Copy Markdown
Member

There are a couple more things to do here, I think:

  • the Python version in .flake8
  • the arguments to pyupgrade in .pre-commit-config.yaml
tony reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tony
tony marked this pull request as draft January 18, 2022 14:31
@tony

tony commented Jan 18, 2022

Copy link
Copy Markdown
Contributor Author

There are a couple more things to do here, I think:

  • the Python version in .flake8
  • the arguments to pyupgrade in .pre-commit-config.yaml

I will convert it to a draft, handle those things, and also continue to look for any other places

If you notice anything else let me know

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tony

tony commented Jan 18, 2022

Copy link
Copy Markdown
Contributor Author

pre-commit.ci autofix

pre-commit-ci[bot] reacted with rocket emoji
All reactions
  • 🚀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@neersighted

neersighted commented Jan 18, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Looks like we can drop the dataclasses dep as the marker (python = "<3.7") makes it a no-op.

I don't have time to look into this, but I also suspect this line can be dropped as the types should be in the stdlib now. I may be wrong, so please look into it before making that change.

tony reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tony
tony dismissed a stale review via 7c9703f January 20, 2022 10:56
@tony

tony commented Jan 20, 2022

Copy link
Copy Markdown
Contributor Author

@neersighted

  • Dropped dataclasses
    • poetry-core: Also already dropped dataclasses in Deprecate Python 3.6 poetry-core#263
  • types-dataclasses: removed
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

branchv
branchv reviewed Jan 22, 2022
View reviewed changes
Comment thread pyproject.toml Resolved

Uh oh!

There was an error while loading. Please reload this page.

branchv
branchv reviewed Jan 22, 2022
View reviewed changes
Comment thread tests/installation/test_executor.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@tony
tony marked this pull request as ready for review January 22, 2022 17:12
@tony
tony requested a review from branchv January 22, 2022 17:12
tony and others added 14 commits January 22, 2022 11:14
@tony
pyproject: Drop python 3.6
edba6d6
@tony
chore: Remove python 3.6 fix for io (python-poetry#4038)
6de7495
@tony
chore(pyproject): Set pre-commit version constraint to 3.6
66e912d
@tony
chore(pyproject): Update isort and black 3.6 -> 3.7
6d1f893
@tony
chore(flake8): Update minimum python version
caffbb3
@tony
ci[pre-commit]: Update pyupgrade arg 3.6 -> 3.7
db87b62
@tony
chore(tox): Remove python 3.6
e5d0bc8
@pre-commit-ci @tony
[pre-commit.ci] auto fixes from pre-commit.com hooks
ba77eb7
for more information, see https://pre-commit.ci
@tony
chore(tests): Bump unsafe kwargs PY36 (removed) PY37
dad1b0d
@tony
build(deps): Drop dataclasses
e308e9d
@tony
chore(pre-commit]: Remove types-dataclasses (unneeded <3.7)
70879bb
@tony
docs: py36 -> py37
7eb262f
@tony @branchv
chore(test): Remove redundant argument
5cb7ea6
Co-authored-by: Branch Vincent <[email protected]>
@tony @branchv
build(deps): Simplify pre-commit usage
5841dc0
Co-authored-by: Branch Vincent <[email protected]>
@tony
tony force-pushed the deprecate-python-3.6 branch from aec2dc9 to 5841dc0 Compare January 22, 2022 17:14
@tony

tony commented Jan 22, 2022

Copy link
Copy Markdown
Contributor Author

@branchvincent: Thank you

Rebased.

Can you approve running on python-poetry/poetry-core#263?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tony

tony commented Jan 22, 2022

Copy link
Copy Markdown
Contributor Author

@branchvincent

P.S.
image

Any preference on how to navigate this? I can merge the commits into mine or re-do them myself.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tony added 2 commits January 22, 2022 11:17
@tony
docs(README): Clarify minimum version is 3.7+
4491c43
@tony
docs(README): Note minimum installer version
d3524b1
@tony
docs(index): Note minimum version 3.7
96fc506
This was referenced Jan 22, 2022
Deprecate Python 3.6 python-poetry/install.python-poetry.org#11
Closed
Deprecate Python 3.6 python-poetry/poetry-core#263
Merged
tony added 2 commits January 22, 2022 11:29
@tony
docs: Update example references of 3.6 to 3.7
10818f1
@tony
ci(main,skip): Remove 3.6
941ee5b
@branchv

branchv commented Jan 22, 2022

Copy link
Copy Markdown
Member

Can you approve running on python-poetry/poetry-core#263?

Unfortunately I don't have access yet 😓 , I've just started helping here. I'll see if I can find someone who does

cc @finswimmer?

Any preference on how to navigate this?

Thanks for checking, but it's fine as is! I only have it as a requirement for another project

I believe there's one more version-gated block we can remove:

poetry/src/poetry/utils/pip.py

Lines 58 to 69 in 28d05d0

if sys.version_info < (3, 7) and not is_wheel:
# Under certain Python3.6 installs vendored pip wheel does not contain
# zip-safe pep517 lib. In this cases we create an isolated ephemeral virtual
# environment.
with ephemeral_environment(
executable=environment.python, with_pip=True, with_setuptools=True
) as env:
return environment.run(
*env.get_pip_command(),
*args,
env={**os.environ, "PYTHONPATH": str(env.purelib)},
)

tony reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tony added 2 commits January 22, 2022 12:05
@tony
chore(pip): Remove zip-unsafe workaround for python 3.6
94d9c66
Originally from cb14c70, part of python-poetry#3835
@tony
chore: Unused import
34ed253
@branchv branchv mentioned this pull request Jan 22, 2022
chore: enable pep 563/585 #5088
Merged
branchv
branchv approved these changes Jan 22, 2022
View reviewed changes

@branchv branchv left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tony, this looks good to me. Let's get one more reviewer to approve/merge

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tony

tony commented Jan 22, 2022

Copy link
Copy Markdown
Contributor Author

Thanks @tony, this looks good to me. Let's get one more reviewer to approve/merge

Thank you for the review!

branchv reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

neersighted
neersighted approved these changes Jan 22, 2022
View reviewed changes
@finswimmer
finswimmer merged commit a0f3d5a into python-poetry:master Jan 23, 2022
@tony
tony deleted the deprecate-python-3.6 branch February 5, 2022 20:22
@finswimmer finswimmer mentioned this pull request Mar 6, 2022
Release 1.2.0b1 #5280
Merged
@blackliner blackliner mentioned this pull request Aug 31, 2022
1.2.0 install not possible aarch64 #6272
Closed
3 tasks done
mpeteuil added a commit to mpeteuil/poetry-dotenv-plugin that referenced this pull request Sep 3, 2022
@mpeteuil
Remove 3.6 support
25cad4e
Poetry removed 3.6 support in 1.2.0 (as of this commit
python-poetry/poetry#5055), so we can't support
it here either.
mpeteuil added a commit to mpeteuil/poetry-dotenv-plugin that referenced this pull request Sep 3, 2022
@mpeteuil
Remove 3.6 support
728b144
Poetry removed 3.6 support in 1.2.0 (as of this commit
python-poetry/poetry#5055), so we can't support
it here either.
mpeteuil added a commit to mpeteuil/poetry-dotenv-plugin that referenced this pull request Sep 3, 2022
@mpeteuil
Remove 3.6 support, require >=3.7,<4
d5642fb
Poetry removed 3.6 support in 1.2.0, so we can't support
it here either. This was because 3.6's end-of-life was on December 23,
2021. For more information see:

python-poetry/poetry#5055
https://devguide.python.org/versions/
https://peps.python.org/pep-0494/

In addition to removing 3.6 support, we're moving this project to require Python >=3.7 and <4
@mpeteuil mpeteuil mentioned this pull request Sep 3, 2022
Update Pythons, workflows for Poetry 1.2.0 release mpeteuil/poetry-dotenv-plugin#7
Merged
mpeteuil added a commit to mpeteuil/poetry-dotenv-plugin that referenced this pull request Sep 3, 2022
@mpeteuil
Update Pythons, workflows for Poetry 1.2.0 release (#7)
bb0ed68
* Set bash as the default shell

This removes the necessity of specifying the shell for every step that
uses the shell.

* Use the install script from Poetry's website

* Include 3.10 in tests

* Remove 3.6 support, require >=3.7,<4

Poetry removed 3.6 support in 1.2.0, so we can't support
it here either. This was because 3.6's end-of-life was on December 23,
2021. For more information see:

python-poetry/poetry#5055
https://devguide.python.org/versions/
https://peps.python.org/pep-0494/

In addition to removing 3.6 support, we're moving this project to require Python >=3.7 and <4

* Use the new plugin add syntax

* Create a release GitHub Actions workflow

This will make it simpler to release versions in the future.

* Bump version to remove pre-release
@github-actions

github-actions Bot commented Feb 29, 2024

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@neersighted neersighted neersighted approved these changes
@branchv branchv branchv approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Deprecate Python 3.6

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@tony @neersighted @branchv @finswimmer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.