Unable to install along with the latest openapi-schema-validator

Open Beginner friendly
#1,188 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
python
Domain
build-system

Research direction

Start in pyproject.toml by reviewing the openapi-schema-validator version constraint. Reproduce the reported installation with openapi-schema-validator 0.9.0 and openapi-core, then verify that the latest compatible versions install together without the current lock. Done means the dependency metadata permits the requested combination and the installation succeeds.

Written by the indexing model from the issue text.

Description

kind/bug
Actual Behavior

When the latest openapi-schema-validator is installed and one wants to add openapi-core (without version lock), the resulting installed version is 0.14.2.

Expected Behavior

The latest versions these libraries are installable together.

Steps to Reproduce
pip install openapi-schema-validator=0.9.0 openapi-core
OpenAPI Core Version

0.23.1

OpenAPI Core Integration

django

Affected Area(s)

This should be due to this version lock in openapi-core's pyproject.toml:

openapi-schema-validator = ">=0.7.0,<0.9.0"
References

No response

Anything else we need to know?

We have use cases for openapi-schema-validator where 0.8.1 fails and 0.9.0 works, and at the same time we rely on the latest openapi-core, so this incompatibility is a bit of a hassle. Can it be resolved?

Would you like to implement a fix?

None

Dominant language
Python
Stars
368
Forks
140
PR merge metrics
No merged PRs in 30d

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.

More from python-openapi/openapi-core

All issues in python-openapi/openapi-core

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.