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

restrict pydantic version #97

Merged
merged 1 commit into from Nov 28, 2019

Conversation

ltalirz
Copy link
Member

@ltalirz ltalirz commented Nov 28, 2019

fix #96

@ml-evs
Copy link
Member

ml-evs commented Nov 28, 2019

Happy to merge this as soon as the tests pass, then we can open a PR to upgrade pydantic/fastapi

@codecov
Copy link

codecov bot commented Nov 28, 2019

Codecov Report

Merging #97 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #97      +/-   ##
==========================================
- Coverage   85.83%   85.74%   -0.09%     
==========================================
  Files          38       38              
  Lines        2315     2315              
==========================================
- Hits         1987     1985       -2     
- Misses        328      330       +2
Impacted Files Coverage Δ
...ade/filtertransformers/tests/test_elasticsearch.py 80.64% <0%> (-6.46%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ed84012...269cd4d. Read the comment docs.

@ltalirz
Copy link
Member Author

ltalirz commented Nov 28, 2019

Ahem... what's up with codecov?

@ltalirz
Copy link
Member Author

ltalirz commented Nov 28, 2019

Anyhow, at least one of the codecov jobs is happy ;-)

@ltalirz ltalirz requested a review from ml-evs November 28, 2019 11:49
Copy link
Member

@ml-evs ml-evs left a comment

Choose a reason for hiding this comment

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

Thanks for spotting this @ltalirz , perhaps we can keep #96 open until we have agreed on a long term solution?

@ltalirz ltalirz merged commit 1b67038 into Materials-Consortia:master Nov 28, 2019
@mkhorton
Copy link

mkhorton commented Nov 28, 2019 via email

@CasperWA
Copy link
Member

What would need to be changed for us to support pydantic>1? I know they changed some of their API

Probably some redefining of validators and reconsidering all imports from pydantic.

I have already created an issue (#101) to discuss it and close, when an appropriate PR handles the upgrade.

I would see it as a huge benefit to the repo to update it ASAP. However, I feel we need to deal with the current PRs first.

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.

Use services for testing/updating dependencies?
4 participants