PyCQA / PyCQA/isort

Release new versions of example projects

Open
#1,915 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7k
Forks
687
Avg merge
4h 56m
Merged PRs (30d)
2

Description

The versions on pypi.org have not kept up to date with what is in the project, and neither has isort's pyproject.toml. This currently blocks updating the lock file:

SolverProblemError

  The current project's Python requirement (>=3.6.2) is not compatible with some of the required packages Python requirement:
    - example-isort-sorting-plugin requires Python >=3.6,<4.0, so it will not be satisfied for Python >=4.0

  Because example-isort-sorting-plugin (0.0.3) requires Python >=3.6,<4.0
   and no versions of example-isort-sorting-plugin match >0.0.3,<0.0.4, example-isort-sorting-plugin is forbidden.
  So, because isort depends on example_isort_sorting_plugin (^0.0.3), version solving failed.

because of #1877

I would like to apply this diff, but can't as poetry then complains that the specified dependency doesn't match any versions.

diff --git a/pyproject.toml b/pyproject.toml
index ec7c16ad..afb3128b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -82,8 +83,8 @@ pip-shims = "^0.5.2"
 smmap2 = "^3.0.1"
 gitdb2 = "^4.0.2"
 httpx = "^0.13.3"
-example_shared_isort_profile = "^0.0.1"
-example_isort_sorting_plugin = "^0.0.3"
+example_shared_isort_profile = "^0.0.2"
+example_isort_sorting_plugin = "^0.0.5"
 flake8 = "^3.8.4"
 hypothesis = "^6.10.1"
 libcst = "^0.3.18"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the example project versions published on pypi.org with the versions and dependency constraints in pyproject.toml. Start by checking the example package metadata and the Poetry dependency declarations; the work is done when the published versions and pyproject.toml are current and the lock file can be updated without the shown solver error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.