Johnny Robeson
|
ce88a78de7
|
add a __bytes__ method to LibModel
this allows `test_album_and_item_format` in test_library to pass in py3
|
2016-06-26 04:06:29 -04:00 |
|
Adrian Sampson
|
a8b039da78
|
Remove a spurious six use
I'm not sure what that `encode` was doing anyway.
|
2016-06-25 19:24:59 -07:00 |
|
Adrian Sampson
|
5efd5b21c5
|
Use new as_str method
Instead of `get(six.text_type)`, which was a surprisingly large portion of our
uses of six.
|
2016-06-25 19:16:14 -07:00 |
|
Adrian Sampson
|
fa7b9999e7
|
Add as_str shortcut to Confuse
|
2016-06-25 19:06:01 -07:00 |
|
Adrian Sampson
|
c8816df9fd
|
Walk back small change to Confit path types
|
2016-06-25 18:54:21 -07:00 |
|
Adrian Sampson
|
f63513c0e0
|
Simpler string type handling
|
2016-06-25 18:49:17 -07:00 |
|
Adrian Sampson
|
c9aeac8cca
|
Sync up Confit/Confuse with external repo
|
2016-06-25 18:46:46 -07:00 |
|
Adrian Sampson
|
de62a59d35
|
Remove an unnecessary six.range use
Ordinary `range` works fine here.
|
2016-06-25 18:39:29 -07:00 |
|
Adrian Sampson
|
2e39c79440
|
Fix redundant six string reference in Confit
|
2016-06-25 18:32:15 -07:00 |
|
Adrian Sampson
|
e16cc58cb9
|
Walk back some six.iter* uses
In places where it doesn't much matter whether we use an iterator or the old
Python 2 list way, using the six name just hurts legibility.
|
2016-06-25 18:29:55 -07:00 |
|
Adrian Sampson
|
349a6e6c1d
|
Fix an erroneous six usage in fuzzy
|
2016-06-25 18:11:15 -07:00 |
|
Adrian Sampson
|
736ad66518
|
Merge pull request #2066 from beetbox/use-six
Use the six package to handle py2/p3 compatibility
|
2016-06-25 18:09:56 -07:00 |
|
Adrian Sampson
|
2b289cd74c
|
Fix setup.py comment about bpd dependencies
|
2016-06-25 18:04:03 -07:00 |
|
Adrian Sampson
|
035bf96558
|
Version bump: 1.3.20
|
2016-06-25 17:53:20 -07:00 |
|
Adrian Sampson
|
9d66e2c306
|
Add release date for 1.3.19
|
2016-06-25 17:52:32 -07:00 |
|
Adrian Sampson
|
6d619b67ab
|
Clean up the changelog for release
|
2016-06-25 17:50:12 -07:00 |
|
Adrian Sampson
|
a7e91593a6
|
Meantion Beatport in README again
|
2016-06-25 17:44:13 -07:00 |
|
wordofglass
|
86ed8e9650
|
Merge pull request #2072 from beetbox/art_rectify_extension_via_imghdr
Rectify artwork extension via imghdr
|
2016-06-25 22:06:32 +02:00 |
|
wordofglass
|
7bf6554cdc
|
fetchart: update changelog
|
2016-06-25 21:57:10 +02:00 |
|
wordofglass
|
2db1530ef8
|
fetchart: flake8 fixes
|
2016-06-25 21:55:55 +02:00 |
|
wordofglass
|
5d00ca8bda
|
fetchart: do not unnecessarily reset Candidate.path on download failure
|
2016-06-25 14:10:55 +02:00 |
|
wordofglass
|
697291b04e
|
fetchart: improve error resilience of the Content-Type detection by file magic
|
2016-06-25 14:10:50 +02:00 |
|
wordofglass
|
9968288358
|
fetchart: update comments
|
2016-06-25 13:49:15 +02:00 |
|
Johnny Robeson
|
a1ed78135c
|
mark confit as_*() methods as shortcuts, not deprecated
Fixes #2026
|
2016-06-25 04:52:11 -04:00 |
|
Johnny Robeson
|
34074b530b
|
check changed text on py >3.5 in RegexpQuery test
See https://bugs.python.org/issue22364 for details
|
2016-06-24 19:09:29 -04:00 |
|
Johnny Robeson
|
b6678019ea
|
use @six.python_2_unicode_compatible
|
2016-06-24 05:53:56 -04:00 |
|
Johnny Robeson
|
364d32953e
|
use buffer on py2, memoryview on py3
This wouldn't be necessary if the sqlite module accepted memoryview
instances on py2, but it doesn't.
|
2016-06-24 05:53:56 -04:00 |
|
Johnny Robeson
|
433ac368df
|
check pull.__next__ on py3 in pipeline tests
|
2016-06-24 05:53:56 -04:00 |
|
Johnny Robeson
|
8c2809f75c
|
only write StringIO encoding attr on py2
|
2016-06-24 05:53:56 -04:00 |
|
Johnny Robeson
|
78334876c3
|
treat HTMLParseError as a noop when missing
Strict mode no longer exists in html.parser on python >= 3.5, and no longer means anything on python >= 3.3
|
2016-06-24 05:53:56 -04:00 |
|
Johnny Robeson
|
6849ab874e
|
skip pipeline test_constrainted_exception on PY3
This one would make every test run last until the timeout is reached, so
it's necessary skip it until the root cause is found.
|
2016-06-24 05:53:56 -04:00 |
|
Johnny Robeson
|
fd3f0b5159
|
disable compiled functemplates if not using PY2
The AST code needs rewritten for PY3. This is tracked in
https://github.com/beetbox/beets/issues/2058
|
2016-06-24 05:53:56 -04:00 |
|
Johnny Robeson
|
9f6b07fe1f
|
replace NUMERIC_TYPES with integer_types in functemplate
|
2016-06-24 05:53:56 -04:00 |
|
Johnny Robeson
|
faea61a76e
|
use the real six.reraise in bluelet
|
2016-06-24 05:53:56 -04:00 |
|
Johnny Robeson
|
36ed75cd01
|
use reraise from six
|
2016-06-24 05:53:55 -04:00 |
|
Johnny Robeson
|
edb1cbc5fc
|
replace iter{items|values} with six.iter{items|values}
|
2016-06-24 05:53:55 -04:00 |
|
Johnny Robeson
|
83f6ba3ce4
|
handle metaclasses with six
|
2016-06-24 05:53:55 -04:00 |
|
Johnny Robeson
|
e57b7faf69
|
replace basestring with six.text_types
|
2016-06-24 05:53:55 -04:00 |
|
Johnny Robeson
|
e8afcbe7ec
|
replace unicode with six.text_type
|
2016-06-24 05:53:49 -04:00 |
|
wordofglass
|
c789d31614
|
fetchart: fix and add tests for the new behaviour
|
2016-06-23 17:38:01 +02:00 |
|
wordofglass
|
34cdf0f3f3
|
fetchart: complain about unsupported images only after validating the Content-Type
|
2016-06-23 17:38:01 +02:00 |
|
wordofglass
|
d47182a3e5
|
fetchart: do not rely on the server-provided Content-Type, but determine the image format from the file magic
|
2016-06-23 17:37:55 +02:00 |
|
Johnny Robeson
|
7b66dfec4b
|
use renamed test assertions from six
|
2016-06-23 04:40:18 -04:00 |
|
Johnny Robeson
|
5f4678e3e8
|
use StringIO from six
|
2016-06-23 04:40:18 -04:00 |
|
Johnny Robeson
|
8e682f14a1
|
replace xrange with range from six.moves
|
2016-06-23 04:40:18 -04:00 |
|
Johnny Robeson
|
31cca684f2
|
replace itertools.izip with zip from six.moves
|
2016-06-23 04:40:18 -04:00 |
|
Johnny Robeson
|
1f8e08d168
|
replace raw_input with input from six.moves
|
2016-06-23 04:40:18 -04:00 |
|
Johnny Robeson
|
4649226b9b
|
use urllib from six.moves
|
2016-06-23 04:40:18 -04:00 |
|
Johnny Robeson
|
1f8fe0f9a6
|
use _thread from six.moves
|
2016-06-23 04:40:18 -04:00 |
|
Johnny Robeson
|
129e140015
|
use html_parser (really html.parser) from six.moves
|
2016-06-23 04:40:18 -04:00 |
|