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

Partially revert poetry@2 support #3260

Merged
merged 3 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ build:
jobs:
pre_create_environment:
- asdf plugin add poetry
- asdf install poetry latest
- asdf global poetry latest
# TODO: remove when poetry@2 support will be fixed
- asdf install poetry 1.8.5
- asdf global poetry 1.8.5
- poetry config virtualenvs.create false
- poetry config warnings.export false
- poetry self add poetry-plugin-export
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ unit:

.PHONY: package
package:
poetry run poetry check
# TODO: re-enable when [email protected] support will be fixed
# poetry run poetry check
poetry run pip check

.PHONY: test
Expand Down
14 changes: 7 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
build-backend = "poetry.core.masonry.api"
requires = [ "poetry-core>=1.9" ]

[project]
[tool.poetry]
name = "wemake-python-styleguide"
version = "1.0.0"
description = "The strictest and most opinionated python linter ever"
requires-python = ">=3.10"
dynamic = [ "dependencies" ]

license = "MIT"

authors = [
{ name = "Nikita Sobolev", email = "[email protected]" },
"Nikita Sobolev <[email protected]>",
]

readme = "README.md"
Expand Down Expand Up @@ -42,16 +40,18 @@ classifiers = [
"Typing :: Typed",
]

[project.urls]
[tool.poetry.urls]
"Funding" = "https://opencollective.com/wemake-python-styleguide"

[project.entry-points."flake8.extension"]
[tool.poetry.plugins."flake8.extension"]
WPS = "wemake_python_styleguide.checker:Checker"

[project.entry-points."flake8.report"]
[tool.poetry.plugins."flake8.report"]
wemake = "wemake_python_styleguide.formatter:WemakeFormatter"

[tool.poetry.dependencies]
python = "^3.10"

flake8 = "^7.1"
attrs = "*"
pygments = "^2.5"
Expand Down
Loading