Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin known compatible versions of dependencies #275

Merged
merged 5 commits into from
Jul 10, 2023
Merged

Conversation

DiamondJoseph
Copy link
Collaborator

@DiamondJoseph DiamondJoseph commented Jul 7, 2023

  • Pins Pydantic to 1.10 and Closes Pin pydantic to v1 #270
  • Dodal and our pinned version of typing_extensions both conflict with Pydantic 2.0
  • Pins FastAPI to 0.99: supports OpenAPI 3.1 while using Pydantic 1.0
  • Pin Bluesky to 1.10 prior to AreaDetector staging change
  • Pin ScanSpec to version compatible with Pydantic and FastAPI
  • Pin Click to version compatible with mypy type checking

DiamondJoseph and others added 2 commits July 7, 2023 11:16
- Closes #270
- Dodal and our pinned version of typing_extensions both conflict with Pydantic 2.0
- Pins FastAPI to 0.99: supports OpenAPI 3.1 while using Pydantic 1.0
- Pin Bluesky to 1.10 prior to AreaDetector staging change
- Pin ScanSpec to version compatible with Pydantic and FastAPI
- Pin Click to version compatible with mypy type checking
@codecov
Copy link

codecov bot commented Jul 10, 2023

Codecov Report

Merging #275 (696a9c8) into main (3bf688f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #275   +/-   ##
=======================================
  Coverage   89.44%   89.44%           
=======================================
  Files          41       41           
  Lines        1412     1412           
=======================================
  Hits         1263     1263           
  Misses        149      149           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

"ophyd",
"nslsii",
"pyepics",
"pydantic",
"pydantic<2.0",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we not allow installing v2 and change all imports to v1?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me see how it behaves with various versions of FastAPI

@DiamondJoseph DiamondJoseph merged commit 14d1bc0 into main Jul 10, 2023
23 checks passed
@DiamondJoseph DiamondJoseph deleted the pinnedPydantic branch September 7, 2023 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pin pydantic to v1
2 participants