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

`beet version` on version 1.3.19 returns "beets 1.3.18" #2086

Closed
somasis opened this Issue Jun 26, 2016 · 10 comments

Comments

Projects
None yet
5 participants
@somasis
Contributor

somasis commented Jun 26, 2016

somasis@seneca:beets/ (master) % beet version
beets version 1.3.18
plugins: acousticbrainz, bpd, convert, discogs, duplicates, embedart, fetchart, filefilter, follow, fromfilename, ftintitle, fuzzy, importadded, info, lastgenre, lastimport, mbcollection, mbsync, missing, mpdupdat
e, random, replaygain, rewrite, scrub, web

After grepping for '1.3.18' I figured out that beets/__init__.py didn't get updated when 1.3.19 was tagged.

@jackwilsdon

This comment has been minimized.

Show comment
Hide comment
@jackwilsdon

jackwilsdon Jun 26, 2016

Member

Oh deary me, that is a bit of a problem! Maybe we can make the change and force update the tag @sampsyo? Has the version been released on any package managers yet?

Member

jackwilsdon commented Jun 26, 2016

Oh deary me, that is a bit of a problem! Maybe we can make the change and force update the tag @sampsyo? Has the version been released on any package managers yet?

@jrobeson

This comment has been minimized.

Show comment
Hide comment
@jrobeson

jrobeson Jun 26, 2016

Contributor

I'd rather see a .20 release than messing with the tags

Contributor

jrobeson commented Jun 26, 2016

I'd rather see a .20 release than messing with the tags

@somasis

This comment has been minimized.

Show comment
Hide comment
@somasis

somasis Jun 27, 2016

Contributor

I found this while packaging it for Exherbo and I figured I should change the version to be correct, to avoid any confusion if users of the package reported bugs on here. I think a .20 release would be better than a force update as well.

Contributor

somasis commented Jun 27, 2016

I found this while packaging it for Exherbo and I figured I should change the version to be correct, to avoid any confusion if users of the package reported bugs on here. I think a .20 release would be better than a force update as well.

@sampsyo sampsyo closed this in e39b6bd Jun 28, 2016

@sampsyo

This comment has been minimized.

Show comment
Hide comment
@sampsyo

sampsyo Jun 28, 2016

Member

Oh no! We'll have to be more careful in the future; something must have gone wrong with the release script. We will try to get a .20 release out the door as soon as possible to rectify this.

Member

sampsyo commented Jun 28, 2016

Oh no! We'll have to be more careful in the future; something must have gone wrong with the release script. We will try to get a .20 release out the door as soon as possible to rectify this.

@JDLH

This comment has been minimized.

Show comment
Hide comment
@JDLH

JDLH Jul 18, 2016

I just discovered this problem also. It slowed me down in diagnosing an issue with beets.

It looks to me also like there was an oversight updating __version__ in beets/__init__.py, during the Version bump: 1.3.19 of commit 2b9f477.

I also think it's worth fixing, but I don't have expertise about which is the best way to fix it.

JDLH commented Jul 18, 2016

I just discovered this problem also. It slowed me down in diagnosing an issue with beets.

It looks to me also like there was an oversight updating __version__ in beets/__init__.py, during the Version bump: 1.3.19 of commit 2b9f477.

I also think it's worth fixing, but I don't have expertise about which is the best way to fix it.

@jrobeson

This comment has been minimized.

Show comment
Hide comment
@jrobeson

jrobeson Jul 18, 2016

Contributor

@sampsyo is taking care of it for the next version. It'd be nice to have a check in release.py to make sure they match though. Alternatively, we should read beets/__init__.py for the __version__ attribute and populate the version in setup.py that way. I'm not sure why we don't already do that.

Contributor

jrobeson commented Jul 18, 2016

@sampsyo is taking care of it for the next version. It'd be nice to have a check in release.py to make sure they match though. Alternatively, we should read beets/__init__.py for the __version__ attribute and populate the version in setup.py that way. I'm not sure why we don't already do that.

@sampsyo

This comment has been minimized.

Show comment
Hide comment
@sampsyo

sampsyo Jul 18, 2016

Member

Yeah, I still don't understand why release.py didn't update the version in one location…

Member

sampsyo commented Jul 18, 2016

Yeah, I still don't understand why release.py didn't update the version in one location…

@jrobeson

This comment has been minimized.

Show comment
Hide comment
@jrobeson

jrobeson Jul 18, 2016

Contributor

@sampsyo : how come we don't just use __version__ in setup.py ?

Contributor

jrobeson commented Jul 18, 2016

@sampsyo : how come we don't just use __version__ in setup.py ?

@sampsyo

This comment has been minimized.

Show comment
Hide comment
@sampsyo

sampsyo Jul 19, 2016

Member

As in, we'd add an import beets at the top of setup.py? We could do that, but we don't currently have to load or execute any beets code to do a distribution, which is nice. Depending on the right version of the beets package being on sys.path when running setup.py is one more way things could go wrong.

Member

sampsyo commented Jul 19, 2016

As in, we'd add an import beets at the top of setup.py? We could do that, but we don't currently have to load or execute any beets code to do a distribution, which is nice. Depending on the right version of the beets package being on sys.path when running setup.py is one more way things could go wrong.

@jrobeson

This comment has been minimized.

Show comment
Hide comment
@jrobeson

jrobeson Jul 19, 2016

Contributor

then I guess a check to compare the versions in release.py is the way to go then

EDIT: or a test!

Contributor

jrobeson commented Jul 19, 2016

then I guess a check to compare the versions in release.py is the way to go then

EDIT: or a test!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment