tortoise / tortoise/tortoise-orm

Fix non-breaking version for dependencies

Open
#712 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.6k
Forks
516
Avg merge
2d 21h
Merged PRs (30d)
9

Description

asyncpg = { version = "*", optional = true }

With install via extra, on breaking change it may fail my app.

Changing this line to asyncpg = { version = "^0.16", optional = true } will make ability to autoupdate asyncpg till 1.0.0 version.
v0.16 - earliest version with the same app compatibility and behaviour

...the same for other * dependencies

Contributor guide

Open the contributing guide

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 project's dependency declarations and finding every dependency using a * version, including the asyncpg entry. Check the stated compatibility baseline for each dependency, replace unconstrained versions with compatible ranges, and verify that installation with extras remains possible without allowing breaking updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
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.