stem icon indicating copy to clipboard operation
stem copied to clipboard

Development version is lower than released version

Open jorti opened this issue 2 years ago • 8 comments

I've published latest git commit in Fedora rawhide to pick the fixes related to Python 3.11, however I've discovered that the development version 1.8.0-dev is considered lower than 1.8.0, causing dependency problems on other packages that require stem >= 1.8.0, see the Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=2101749

The version was changed in commit https://github.com/torproject/stem/commit/4fd458d4debf2444023de9f745ce726f84da79cf

The development releases are ordered before the final release, see:

https://peps.python.org/pep-0440/#developmental-releases

Please, consider updating the version to 1.8.1-dev or similar. Thank you.

jorti avatar Jun 28 '22 16:06 jorti

Hi Juan. Stem 1.8.0 is the latest release and I don't have any plans on making future ones. That said, if Stem development resumes I'd be happy to adjust how we tag between releases.

atagar avatar Jun 28 '22 20:06 atagar

Hi, the problem with the current dev version is that it has jumped backwards. Maybe using something like 1.8.0-post-dev ?

If this isn't fixed, I'll need to patch the version number downstream. Thanks.

jorti avatar Jun 29 '22 06:06 jorti

Well, it turns out that 1.8.0-post-dev is not ordered after 1.8.0-dev as I was expecting.

I'm patching the version to 1.8.1-dev downstream to fix the dependency problem.

jorti avatar Jun 29 '22 17:06 jorti

@atagar what about fliush alredy commited changes as new release? 🤔 https://github.com/torproject/stem/compare/1.8.0...master

kloczek avatar Jun 30 '22 12:06 kloczek

Stem's master branch is far from a stable state for a release. At the very least #77 would need to be addressed.

atagar avatar Jun 30 '22 20:06 atagar

In stem/init.py it says

__version__ = '1.8.0-dev'

The latest version shipping with gentoo and debian is 1.8.2

Please bump this ASAP to at least 1.8.3 so that we can make use of the git repo.

emdee-is avatar Feb 20 '24 21:02 emdee-is

Again, you seem to be referencing the master branch. Do NOT package that for Gentoo. If the version has a '-dev' suffix then you're using the wrong thing. ;)

atagar avatar Feb 20 '24 22:02 atagar

Ooops - nice to know. Could you put a note on this in the README? I thought master on github was expected to be the current branch unless noted in the README. There are a lot of differennces on maint so now the maint->gitlab differences are a big divergence.

emdee-is avatar Feb 21 '24 06:02 emdee-is