← All tasks
pythontmbo/questionary #109Repaired task

Suggest relaxing Python version constraint

envgap__tmbo__questionary-109

01 / FAILURE SIGNATURE

Captured in a clean container

ERROR: Package 'questionary' requires a different Python: 3.10.12 not in '<3.10,>=3.6'

02 / ENVIRONMENT RECIPE

Base commit
172d12d1b1ed6391eb282f4e87d78c2ef29f52d9
Manifest
pyproject.toml
Reproduce
python3 -m pip install .
Run under trace
python3 -c " import importlib, importlib.metadata as md mods = set() for dist in md.distributions(): if 'file:///work' not in (dist.read_text('direct_url.json') or ''): continue top = (dist.read_text('top_level.txt') or '').split() if not top: top = [str(f).split('/')[0].removesuffix('.py') for f in (dist.files or []) if str(f).endswith('.py') and not str(f).startswith(('..', '_'))] mods.update(t for t in top if t.isidentifier() and not t.startswith('_')) assert mods, 'the project itself is not installed' for name in sorted(mods): importlib.import_module(name) print('imported', sorted(mods)) "
Reference environment fix used for admission
diff --git a/pyproject.toml b/pyproject.toml
index 4876c28..a46bd8d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -33,7 +33,7 @@ readme = "README.md"
 license = "MIT"
 
 [tool.poetry.dependencies]
-python = ">=3.6,<3.10"
+python = "^3.6"
 prompt_toolkit = ">=2.0,<4.0"
 Sphinx = {version = "^3.3", optional = true}
 sphinx-rtd-theme = {version = "^0.5.0", optional = true}

03 / ORIGINAL ISSUE TEXT

tmbo/questionary #109 · read the original issue
Seeing as this is a pure Python package, would you consider relaxing the Python version constraint so that it at least allows for the package to be used with the next Python version?   Packages which depend on Questionary could then be tested with Python pre-releases without having to pass `--ignore-requires-python` to pip.
Continue on GitHub ↗

04 / LABELS

Labels checked by running the task · needs human review

misspecification
Label rules and the text that matched
[
  {
    "category": "misspecification",
    "rule": "diff.changes_existing_manifest_line",
    "source": "manifest_diff:pyproject.toml",
    "excerpt": "-python = \">=3.6,<3.10\"\n+python = \"^3.6\""
  }
]

Mined from a merged pull request linked to the issue whose changed files are all environment files.

The base commit is the pull request's base, not the dated default-branch commit; the registry is pinned to the merge date so the pull request's own pins resolve.

Default commands from envgap default-recipe synthesizer v1; gold_files are the pull request's environment diff.

Preparation uses current registries. Historical package availability is not enforced here; execution metadata records this limitation separately from the oracle's date-bounding policy.