Skip to content

Conversation

@gatli
Copy link
Contributor

@gatli gatli commented Sep 18, 2023

This PR drops Python 3.6 support it is end of life for security fixes for more than a year

This PR fixes poetry install problems for later python versions, allowing development on all modern Python versions.

This basically required digging into different elements of the dependency tree and opening it up (which is a good idea for libraries)

  • poetry show typed-ast --tree --why

@gatli gatli self-assigned this Sep 18, 2023
@gatli gatli force-pushed the gunnar/fix-poetry-install branch from 90a4329 to a7d8d9b Compare September 18, 2023 15:29
@gatli gatli marked this pull request as ready for review September 18, 2023 16:04
@gatli gatli enabled auto-merge (squash) September 18, 2023 16:05
Copy link
Contributor

@ntamas92 ntamas92 left a comment

Choose a reason for hiding this comment

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

LGTM

poetry run black --check .
- run:
name: Flake8 Lint Check # Uses setup.cfg for configuration
name: Ruff Lint Check # See pyproject.tooml [tool.ruff]
Copy link
Contributor

Choose a reason for hiding this comment

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

Small typo

Suggested change
name: Ruff Lint Check # See pyproject.tooml [tool.ruff]
name: Ruff Lint Check # See pyproject.toml [tool.ruff]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, had automerge on 🙂

Copy link
Contributor

Choose a reason for hiding this comment

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

No worries, I'll handle these in my PR soon.

- repo: local
hooks:
- id: system
name: flake8
Copy link
Contributor

Choose a reason for hiding this comment

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

Better yet, maybe call it lint?

Suggested change
name: flake8
name: ruff

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Again, automerge 🙈

Copy link
Contributor

Choose a reason for hiding this comment

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

Same

@gatli gatli merged commit 36d1315 into master Sep 18, 2023
@gatli gatli deleted the gunnar/fix-poetry-install branch September 18, 2023 16:16
Copy link
Contributor

@jean-lucas jean-lucas left a comment

Choose a reason for hiding this comment

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

lgtm, tried it out on a few sample scripts locally too

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.

4 participants