-
Notifications
You must be signed in to change notification settings - Fork 66
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 package version to 0.21.0 #138
Conversation
@adamreichold @GodTamIt @cjrh @Sidhant29 Be good to get your perspective. Do we need to look at this naming scheme e.g. 0.21.0 tantivy version with an extra .x for tantivy-py updates or do we not need to solve for this |
While having the versions of the |
@adamreichold I disagree. The long history of the APSW package, and my user experience of working with that package over many years, has made it quite clear that for wrappers, having a simple correspondence between the inner package (SQLite) and the wrapper package (APSW) is valuable. They describe it here: https://rogerbinns.github.io/apsw/about.html#apsw-and-sqlite-versions It may not be strict semver but semver doesn't have a good solution for wrapper packages anyway. |
Here, recently, the arrow-datafusion-python wrapper discussed the same problem: apache/datafusion-python#123 Here, several years ago, a comment at semver saying that semver is not intended to describe package dependences. However, they offer the idea of, e.g. |
APSW used to use |
This might be a bit of a bikeshed but I would say that having However, I don't have strong opinions on how we'd differentiate between builds of |
Summarizing the thread so far:
I can live with semver-only, and it would be more palatable if we can make the tantivy-py version number look different from the tantivy version number. I don't have good ideas here for how to do that. This option has the benefit of being overall simpler from the point of view of just managing the version number. We lose only the human inconvenience of being able to tell at a glance which version of tantivy is included. I have a lot of experience with the no-semver model, since this is what the APSW Python library has used for many years. It has helped that APSW has been very conservative and stable in their development and release process. It may be that this is why the version number not being semver has caused few issues. Thinking it over, if we had had this method from the start, it would not have been super useful, because the availability of features in tantivy-py has lagged behind the features in the included tantivy crate anyway. So the value in showing the version of the inner crate would be questionable. I can also live with the super-semver version. I don't have experience with it, so others will have to chime in. My opinion is that I am moving towards just doing semver as @adamreichold suggested. We can help with the discoverability of the inner tantivy version by making a top-level module function that reports it. This is easily used in a REPL, and can easily be collected during the documentation build. |
Ok @wallies let's move forward with semver. |
No description provided.