pydantic / pydantic/pytest-examples

target_versions are out of date

Open
#63 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
178
Forks
25
Avg merge
4d 1h
Merged PRs (30d)
7

Description

The target_version flag uses a fixed set of python versions with the latest being py310, no py311, py312 or py313.

It's nice it enforces the format, but might be better to accept a string so its not a maintenance burden when new releases come out, requiring users to update the this package when otherwise it wouldnt be needed.

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

Start by locating the target_version flag definition and its validation, then inspect the plugin tests covering accepted Python versions. Update the behavior so newer version values such as py311, py312, and py313 do not require a package release, and add or adjust tests showing the accepted format.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.