-
Notifications
You must be signed in to change notification settings - Fork 68
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
Python client -- issues with version coupling and automatic releases #1296
Comments
We are going to do the second bullet point above, as it integrates well with checking against the most current PyPI release as mentioned in #1281 (comment) |
@melange396 one quick question before I create a PR for this! Ideally I'd like to automatically release the Python and JS clients if the relevant files have been changed, and there are GitHub Actions that enable this. However:
Currently, a couple files in these paths have
So they would be changed with every release either way. I have two potential solutions for this:
Which do you think is preferable? |
There are other possibilities too:
I like the last one best but i could be convinced to go along with the |
@melange396 I've implemented your last idea in #1465! |
The version of the
delphi_epidata
python client is bound to the version of the repository. This means that a new version of the client is automatically published to PyPI whenever we do a release ofdelphi-epidata
, even if the client code has not actually changed. This can confuse or annoy users, as it might encourage them to do frequent but unnecessary upgrades. There are also concerns regarding what to do if we make changes to the client interface that might break users' existing workflows -- in such a case, Semantic Versioning necessitates incrementing the "major" version number, but this may be undesirable to apply to the entire repository.We can address this in a number of ways:
bumpversion
" configuration, and would require creating a different release process (either automatic or manual -- automatic being more work up front, while manual requires remembering to perform some number of extra steps when changing the client).This discussion came up in #1288. Additional points are made and details listed in that PR, starting with comment #1288 (comment) .
Similar concerns may exist for the other clients in this repo.
The text was updated successfully, but these errors were encountered: