-
Notifications
You must be signed in to change notification settings - Fork 44
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
Bump spec version to 1.0.0-rc.2 #367
Conversation
Hmmm, looks like our regexp for version numbers and the update task doesn't allow release tags like |
7e5feae
to
25b121a
Compare
Yeah (and it's |
I've taken the opportunity to clean up some stuff. It seems taking the package version from the installed version is rubbish (sorry @shyamd). Furthermore, the OpenAPI JSON specifications are now automagically updated whenever the package version or support OPTIMADE API spec version is also updated, since this is a step we always have to do to after updating those versions. Finally, I've updated the package version to the latest actually published version on PyPI: Finally, the supported OPTIMADE API specification can now support |
I would still recommend one place of truth for the version. It's one of those things that won't hurt us, but has a high chance of causing a bug for any package that depends on |
We can also just have it in the |
That should be fine as long as you don't read it via normal python import. |
Naturally. All out raw file reading on that one :) |
94a89b0
to
2005d92
Compare
This still fails, we need to update our model for |
Ah, I didn't look at this yet actually. Will fix it asap. |
There's nothing wrong with adding a |
Nope, its the validator in the model. There's also part of the versioned base url we need to fix too though |
Codecov Report
@@ Coverage Diff @@
## master #367 +/- ##
==========================================
- Coverage 90.43% 90.27% -0.16%
==========================================
Files 54 54
Lines 2352 2386 +34
==========================================
+ Hits 2127 2154 +27
- Misses 225 232 +7
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found this :)
cb4ebe2
to
3e3b4c9
Compare
Package version is made up to speed with the current latest release on PyPI: v0.9.1 The OPTIMADE API specification is updated to the latest release candidate version: v1.0.0-rc.2 The invoke tasks have been updated, so that nothing is raised, unless a true error occurs. If the package or OPTIMADE spec version is updated, the OpenAPI specifications are also afterwards. Instead of getting the package version from the installed version, it is set through invoke tasks. This means the `optimade/__init__.py` must be "manually" updated through the invoke task "setver".
cabf187
to
993ea7d
Compare
52e0d19
to
b14f3ff
Compare
😌 |
Closes #329. We need to do this before contributing the openapi schemas to the spec repo. I think we're safe to jump the gun to rc2, as we are the only thing currently blocking it...