NOTICE: [beets] jrobeson pushed 3 new commits to master: https://github.com/beetbox/beets/compare/164dafecd815...31a529249116
NOTICE: beets/master 6f5e08a Johnny Robeson: switch travis env to trusty tahir (14.04)...
NOTICE: beets/master d2045d7 Johnny Robeson: add imagemagick package...
NOTICE: beets/master 31a5292 Johnny Robeson: Merge pull request #2111 from jrobeson/try-trusty-travis...
NOTICE: [beets] jrobeson closed pull request #2065: Install imagemagick in travis so the embedart compare tests can run (master...travis_imagemagick) https://github.com/beetbox/beets/pull/2065
NOTICE: [beets] jrobeson deleted travis_imagemagick at 5deb206: https://github.com/beetbox/beets/commit/5deb206
magnulu has quit
got all the -bb stuff passing now
magnulu joined the channel
NOTICE: [beets] jrobeson pushed 1 new commit to master: https://github.com/beetbox/beets/commit/35d0e81949255fc6372d3e4c89370b6bd475eae8
NOTICE: beets/master 35d0e81 Johnny Robeson: add missing bytestring_paths for python -bb
sampsyo
Yay!
jrobeson
yo yo sampsyo
what's up?
sampsyo
Hi! Just checking in briefly while I get some work done
jrobeson
work ?
sampsyo
I was thinking of releasing 1.4.0 with "experimental" Python 3 support soon—do you see any potential problems with that?
yep, it never ends
jrobeson
there's no python 3 support until we do soemthign about the stdio
resolve everything in my test PR (which you never commented on)
jrobeson whines
sampsyo
Well yeah, it's not that anyone should *actually* use it; mainly I'd like to get the recent changes out so we can start finding bugs from the Python 2 side.
One thing at a time. :)
jrobeson
i don't see how it's gonna be much different than what they got in 1.3.19
so i think we should try to tackle the stdio first. and it really isn't hard
at least on linux/mac
and i think i know how to do it for windows too. we just need to talk about it a bit first
and try win-unicode-console
sampsyo
We did change a huge amount of stuff, and we introduced the six dependency, so there's a lot of surface area already
jrobeson
if the six even has a chance of breaking anything.. i'd be like.. waaay annoyed
i'm ok doing a release , but I'd prefer not to talk about py3 at all
well we can talk about py 3, but let's not call it py3 support.. more like.. changes on the road to py3
sampsyo
Yeah, that's what I was getting at
jrobeson
I just raise issue with ""experimental" Python 3" that you said
sampsyo
Sure; I worded that wrong
jrobeson
quick question ..
tem.path = '/ipfs/{0}/{1}'.format(album.ipfs,os.path.basename(item.path)) so what do i use there around os.path.basename when is bytestring?
just text_string ?
sampsyo
If you know it's a bytestring, then text_string is unnecessary—you can just .decode() it
But for the encoding, it's probably wisest to use _fsencoding()
And since, in this case, it's more important to be a usable name than to be exactly correct, the appropriate error more is probably `ignore`
*error mode
jrobeson
uggh.. that's all so very confusing
can we just rage about this nonsense for awhile? a long while? break some glass maybe
i don't know
i wish i had a punching bag
sampsyo
encoding stuff, especially filename encoding stuff, is horrible nonsense, it's true
it's 2016 and we still have to deal with Latin-1, etc., etc.
and OSes that think ASCII is a reasonable encoding
jrobeson
do you ever play any video games?
sampsyo
not often, to be honest
jrobeson
saying what i said reminded me of a line from Bastion that the narrator says.. "The kid just rages for awhile" when you go around breaking breakable items
sampsyo
ha—I have actually played Bastion, and I remember that line
jrobeson
i usually buy all the humble indie bundle games.. and that's about all i play.. i still have a huge backlog of stuff i never get to
before a few years ago.. i was a coowner of a bookstore/cafe .. not much time for games then
sampsyo, check your pm ..
sampsyo
you gave up the cafe thing?
jrobeson
i left town
twas in baltimore
sampsyo
aha
jrobeson
it wasn't a normal coowner arrangement. as per the pm
i think i'd be slightly less annoyed by all this if it all wasn't so verbose and make the code less clear
sampsyo
Agreed.
jrobeson
maybe once it's all there, we can rethink our methods
sampsyo
Yeah—a more uniform way of dealing with paths specifically would be worth pursuing. One can dream that pathlib would be that way…
jrobeson
It can be.. in 3.6.. I wonder if we can trigger __fspath__ like functionality ourselves in preparation
i know they've adopted it for all sorts of methods like tempdir and open() and whatnot, but no idea if it has or will percolate to sqlite3 and friends
sampsyo
It certainly should!
jrobeson
i wish they'd take it so seriously that they'd backport it to 3.5 or make it available via __future__
well 3.4 too.. but i doubt we'd get that lucky
alternatively.. distributions could make it easier on us by providing more python versions :(
it sucks that windows and mac are actually easier to deal with for this stuff
becauwe it's no big deal for windows programs to require an updated python
and in the end, we'd use pyinstaller or something anyways
sampsyo
yeah, but a huge hassle if your Debian doesn't have the right Python, for example
it is a bit tragic
jrobeson
yeah.. it's linux that's the problem
in the end.. it's really ubuntu and debian (and their derivatives)
because even rhel 7 has SCL.. which allows you to get newer pythons
fedora will be behind for about 6 months.
they don't even have an LTS. so the current release -2 is always EOled
oh.. it's a 6 month cycle
well flatpack/snaps might save us eventually
depending on if they offer one with updated pythons..
Vacuity_ joined the channel
Vacuity has quit
freakout_ joined the channel
freakout has quit
and there's the -bb fixes
NOTICE: [beets] jrobeson pushed 2 new commits to master: https://github.com/beetbox/beets/compare/35d0e8194925...b9cd889ef47f
NOTICE: beets/master 8c1e9e0 Johnny Robeson: add missing displayable_paths to satisify python -bb
NOTICE: beets/master b9cd889 Johnny Robeson: decode ipfs item paths to satisy python -bb
it wasn't that bad
Joschasa_ joined the channel
Joschasa has quit
NOTICE: [beets] jrobeson opened issue #2113: don't allow tox -e py34-flake8 to fail https://github.com/beetbox/beets/issues/2113
jrobeson spams the issue tracker
Joschasa_ is now known as Joschasa
jrobeson_ joined the channel
untitaker joined the channel
robink joined the channel
beat joined the channel
lazka joined the channel
now that i'm getting a chance to look at the codebase more on a whole, i'm noticing some perhaps easy wins for refactoring
NOTICE: [beets] jrobeson pushed 1 new commit to master: https://github.com/beetbox/beets/commit/00bff817564da7d0561101ffa1c39b593a305228
NOTICE: beets/master 00bff81 Johnny Robeson: add a flush() method to test DummyOut...
NOTICE: [beets] jrobeson pushed 1 new commit to master: https://github.com/beetbox/beets/commit/a15ae96616e11edb17f5c7cd47d529dfd0b2f298
NOTICE: beets/master a15ae96 Johnny Robeson: add a missing text_string in play plugin...
Freso joined the channel
NOTICE: [beets] jrobeson pushed 2 new commits to master: https://github.com/beetbox/beets/compare/a15ae96616e1...b564683d59b2
NOTICE: beets/master e434074 Johnny Robeson: reorganize tox.ini so we can pass -bb to our 3.x tests...
NOTICE: beets/master b564683 Johnny Robeson: use -m nose for tests on python 2.x too
NOTICE: [beets] jrobeson closed issue #2106: How can we pass -bb to python (3.x) executable via tox? https://github.com/beetbox/beets/issues/2106
lazka has quit
asdil12 has quit
asdil12 joined the channel
jrobeson_ has quit
magnulu has quit
magnulu joined the channel
thomas_sch
sampsyo: yeah I probably will keep those as singletons, but it forces this on some albums that are nearly complete. My problem is that my collectio is neither complete nor in order :/
thunderrd_ has quit
thunderrd joined the channel
fryguy joined the channel
beat- joined the channel
beat has quit
Nukien joined the channel
NOTICE: [mediafile] StevenMaude opened pull request #5: HTTPSify GitHub URL in setup.py (master...httpsify-github-url) https://github.com/beetbox/mediafile/pull/5
any tips to identify freezing in beets? I just started to import my collection, and it's copied 2 albums and hasn't made any progress for the past 20 mins or so and doesn't seem to be doing anything