Commit graph

10167 commits

Author SHA1 Message Date
Jack Wilsdon
0ed2fbc7b0 Tidy up plugins in ui config tests
Some of these tests load plugins using beets' normal plugin loader, but
didn't call unload_plugins to tidy up afterwards. This led to any future
plugin loads being ignored until the next unload_plugins call.

This commit changes the config tests so that we always call load_plugins
on setup (to store the default beets state) and unload_plugins on
teardown (to restore the previously stored state).
2021-08-31 21:28:03 +01:00
Andrew Rogl
9106b41a50 Remove as many as possible sys.version tests 2021-08-27 10:24:27 +10:00
Andrew Rogl
277f4e72d1 Remove unrequired flake8 checks 2021-08-27 08:26:07 +10:00
Andrew Rogl
ee4268dabb Remove unused imports
Fix imports
Fix formatting
2021-08-26 20:59:48 +10:00
Andrew Rogl
0f48ccde78 Final pyupgrade 2021-08-26 20:14:08 +10:00
Andrew Rogl
1ec87a3bdd pyupgrade beetsplug and tests
All tests working
More tidy up to be done
2021-08-26 19:12:51 +10:00
Andrew Rogl
910354a6c6 fix unused import and flake8 2021-08-25 19:07:55 +10:00
Andrew Rogl
af102c3e2f pyupgrade util dir 2021-08-25 19:02:31 +10:00
Andrew Rogl
432fa55725 pyupgrade ui directory 2021-08-25 18:56:32 +10:00
Andrew Rogl
d288f87290 pyupgrade dbcore dir 2021-08-25 18:48:26 +10:00
Andrew Rogl
f8b8938fd8 pyupgrade autotag dir 2021-08-25 18:18:07 +10:00
Andrew Rogl
6d1316f463 pyupgrade beets dir 2021-08-25 16:05:28 +10:00
Andrew Rogl
e262766580 pyupgrade root 2021-08-25 15:27:16 +10:00
Adrian Sampson
75223eedb7
Docs for 3.6+ requirement 2021-08-22 21:09:30 -04:00
Adrian Sampson
8819852337
Merge pull request #4018 from beetbox/drop-py2
Require Python 3.6+
2021-08-22 21:03:55 -04:00
Adrian Sampson
5c699f1f9d
Wrap a long comment 2021-08-21 13:37:47 -04:00
Adrian Sampson
ea3a6e5fd7
Skip some more tests on Windows
We should actually fix these, I suppose!
2021-08-21 13:35:28 -04:00
Adrian Sampson
07742a5f39
Remove unnecessary temporaries 2021-08-21 13:29:25 -04:00
Adrian Sampson
8e163a6e3b
Update memoryview-related comments
Co-authored-by: Benedikt <wisp3rwind@posteo.eu>
2021-08-21 13:26:10 -04:00
Adrian Sampson
fd81d65c4b
Undo string type inversion in convert 2021-08-21 13:24:18 -04:00
Adrian Sampson
e6a1f5a3dc
convert: Split command in str form
...with yet another round-trip conversion. :/
2021-08-19 17:24:01 -04:00
Adrian Sampson
2f5f9ea174
Remove shlex_split utility
This works around a bug that does not exist in Python 3.x, and the
workaround (by calling the underlying shlex.split function with bytes)
was causing crashes on some versions of Python 3. Seemed to work fine on
3.10-dev, though, oddly.
2021-08-19 17:14:16 -04:00
Adrian Sampson
f545cd3830
Remove unused import 2021-08-19 17:02:28 -04:00
Adrian Sampson
8f7d522225
CI: Skip optional dependencies on Windows 2021-08-19 17:00:27 -04:00
Adrian Sampson
2ff7e6bc47
Fix missing comma in setup.py 2021-08-19 16:57:47 -04:00
Adrian Sampson
b467c2c4fc
Drop Python 2.7 and 3.5 from Actions CI matrix 2021-08-19 16:48:58 -04:00
Adrian Sampson
af1eaf5062
Merge remote-tracking branch 'origin/windows-ci' into drop-py2 2021-08-19 16:48:46 -04:00
Adrian Sampson
75c41c0546
Remove most six.PY2 checks 2021-08-19 16:45:11 -04:00
Adrian Sampson
4bf82cd755
Drop Python 2 from Tox config 2021-08-19 16:35:38 -04:00
Adrian Sampson
1cf80b340f
Drop Python <3.6 requirements from setup.py 2021-08-19 16:34:50 -04:00
Adrian Sampson
21e11f5bb3
Version bump: v1.5.1 2021-08-19 15:57:14 -04:00
Adrian Sampson
92b6d7ea7c
Release date for v1.5.0 2021-08-19 15:56:13 -04:00
Adrian Sampson
51e4c62220
Tiny wording tweak 2021-08-19 15:50:36 -04:00
Adrian Sampson
b3ca50a0ff
Further sprucing of "major features" 2021-08-19 15:47:24 -04:00
Adrian Sampson
842dd5a05a
Finish complete changelog pass 2021-08-19 15:42:16 -04:00
Adrian Sampson
550a6ef337
Changelog editing: pass over fixes 2021-08-19 15:36:05 -04:00
Adrian Sampson
9ec7378ed7
Changelog spruce-up: pass over new features 2021-08-19 15:20:33 -04:00
Adrian Sampson
361cabe023
Merge pull request #3848 from catap/smartplaylist-url-firendly 2021-08-13 21:41:28 -04:00
Kirill A. Korinsky
b0f7418372
Stream-friendly smart playlists
This commit introduced a way to generate a stream-frienldy playlists.
2021-08-14 02:41:22 +02:00
Adrian Sampson
58cfa7357d
Merge pull request #4014 from snejus/add-reference-to-beetcamp
Add reference to an external beetcamp autotagger in the docs
2021-08-04 10:03:11 -07:00
Šarūnas Nejus
c6e4cf80f4
Add reference to the beetcamp plugin 2021-08-03 19:27:26 +01:00
Šarūnas Nejus
8dae6039f2
Order external plugins alphabetically 2021-08-03 19:27:26 +01:00
Adrian Sampson
600c9283b9
Merge pull request #4008 from maffo999/master
Fix for #4002: subsonicupdate plugin broken
2021-07-15 16:05:21 -04:00
maffo999
5dbc7f9f33 Moved logging to debug and fixed empty line. Updated changelog to include new option. 2021-07-15 20:13:18 +02:00
Adrian Sampson
8d3cfe46ed
Ignore a new pep8-naming error
The new error <https://github.com/PyCQA/pep8-naming/pull/157> strikes me
as a little overzealous: while most exceptions are errors, there are
some Exception subclasses that are *not* properly considered errors
(e.g., when they're only a base class for other error classes).
2021-07-15 09:52:43 -04:00
maffo999
51210cb649 Updated changelog 2021-07-14 20:36:52 +02:00
maffo999
653181a296 Fix subsonicupdate plugin 2021-07-14 20:10:04 +02:00
Adrian Sampson
0f9ffeec3e
Merge pull request #3995 from wisp3rwind/pr_lyrics_tekstowo_no_crashes
Crash-resilient Tekstowo lyrics source
2021-07-05 09:52:05 -04:00
wisp3rwind
c336191cdf lyrics: update and condense Tekstowo changelog entries 2021-07-04 13:54:03 +02:00
wisp3rwind
0c285753fb lyrics: Add some missing None-checks to the Tekstowo source
The previous code had the potential to crash if (when?) Tekstowo changes
their website structure sufficiently.

The new code is rather ugly due to the explicit checks after each and
every function call. Unfortunately, the alternative would be to catch a
bunch of very generic Exceptions (AttributeError, ...), since there's no
such thing as a `BeautifulSoupNotFoundError`.
2021-07-04 10:38:00 +02:00