Commit graph

9644 commits

Author SHA1 Message Date
Carl Suster
ad695a34e4
Merge pull request #3287 from beetbox/arcresu-patch-1
Retry dependency installation commands on AppVeyor
2019-06-02 22:01:32 +10:00
Carl Suster
b0d476ae78
Retry dependency installation commands on AppVeyor
There's an `appveyor-retry` command that should help to make some of the dependency installation more reliable and the AppVeyor tests less flaky.
2019-06-02 21:30:57 +10:00
Carl Suster
9e60b3101a
Merge pull request #3286 from arcresu/pytest-warnings
tests: avoid non-test classes named Test*
2019-06-02 16:53:26 +10:00
Carl Suster
10d41a1cbb tests: avoid non-test classes named Test*
When using pytest's test collector, any class with a name starting with
Test is collected. If it notices that the class has an `__init__` member
then it skips it with a warning since it's probably a false positive.
This isn't a big deal, but we can avoid warnings like this:

    test/test_ui_importer.py:33
      beets/test/test_ui_importer.py:33: PytestCollectionWarning: cannot collect test class 'TestTerminalImportSession' because it has a __init__ constructor
        class TestTerminalImportSession(TerminalImportSession):

simply by renaming TestX to XFixture.
2019-06-02 16:35:37 +10:00
Carl Suster
8bea1cc7f5 docs: add report recipe 2019-06-02 16:07:07 +10:00
Carl Suster
001183ec54 docs: add cron import recipe 2019-06-02 16:01:10 +10:00
Adrian Sampson
81b1faa053 inline: Fix a ridiculously subtle flexattr bug
As detailed here:
https://github.com/beetbox/beets/issues/2406#issuecomment-274423601

In a *function-style* definition, we didn't properly *un-define* the
values for a given item after each function invocation. So when a field
wasn't defined, it would get the value for the previously-formatted
object instead. It now properly throws a NameError.
2019-06-01 12:28:47 -04:00
Adrian Sampson
cd66c5d752 Link to beet-summarize (fix #3177) 2019-06-01 12:03:03 -04:00
Carl Suster
a0c7697353
Merge pull request #3267 from arogl/patch-1
Update setup.py to install to a directory rather than egg file
2019-06-01 12:48:07 +10:00
Carl Suster
3161e27226
Merge pull request #3224 from arcresu/confuse
confit: replace with a re-export of beetbox/confuse
2019-06-01 12:39:06 +10:00
Carl Suster
1a16537a3f
Merge pull request #3282 from beetbox/arcresu-patch-1
Update Python 3 versions for CI
2019-06-01 12:22:15 +10:00
Carl Suster
a04666eea2 Test on Python 3.7 on AppVeyor 2019-06-01 10:54:45 +10:00
Carl Suster
a86b74943a Update Python 3 versions for Travis 2019-06-01 10:54:30 +10:00
Carl Suster
57d5c77b33 Changelog for #3224 2019-06-01 10:24:15 +10:00
Carl Suster
d2f13bf65c confit: replace with confuse in tests 2019-06-01 10:13:13 +10:00
Carl Suster
6382c364e2 confit: replace with confuse in plugins 2019-06-01 10:03:41 +10:00
Carl Suster
a82002e6c1 confit: replace with confuse in core beets 2019-06-01 09:51:56 +10:00
Carl Suster
f1c9b11635 confit: depend on new confuse and remove backports 2019-06-01 09:40:48 +10:00
Carl Suster
e2d7780f97 confit: replace with a wrapper around confuse
This re-exports all of the confuse module under `beets.util.confit` and
patches in the minimum subset of commits to confit that have not yet
been ported to confuse such that the test suite passes. A warning is
issued when importing from the deprecated namespace.
2019-06-01 09:30:25 +10:00
Dorian Soergel
a10ad548c9 logging if no parent composer 2019-05-31 20:54:15 +02:00
Dorian Soergel
e6da3e1498 move _command into command 2019-05-31 18:28:53 +02:00
Dorian Soergel
acf447b4b0 adapt tests, correct docstrings 2019-05-31 17:52:39 +02:00
Dorian Soergel
638e9d5dc8 style changes, docstrings 2019-05-31 17:17:06 +02:00
Dorian Soergel
b28d685059 wrong file name for parentwork documentation 2019-05-31 15:13:55 +02:00
Dorian Soergel
6d6c1a1647 fixes for disambiguation 2019-05-31 15:04:00 +02:00
Dorian Soergel
080680c950 add parentwork plugin, first try 2019-05-31 14:35:51 +02:00
Adrian Sampson
4fc9e2686b
Merge pull request #3277 from beetbox/arcresu-patch-3
Setup path correctly in testall.py
2019-05-30 21:51:14 -04:00
Jack Wilsdon
bc95253566 Setup path correctly in testall.py
By comparing `sys.path` as setup by nose vs. testall.py it seems that we
weren't adding the top-level beets directory to the path. The script was
also previously changing the working directory before running the tests.
2019-05-31 11:28:55 +10:00
Adrian Sampson
1da34f26ff Changelog for #3272 2019-05-30 20:58:30 -04:00
Adrian Sampson
a31294f302 Merge pull request #3272 from dosoe/beets_work_id_2
add work, work-disambig and work_id tags
2019-05-30 20:55:24 -04:00
Adrian Sampson
d778a5236b Move changelog for #3237 to the right release 2019-05-30 20:24:11 -04:00
Adrian Sampson
c82072aa80 Merge pull request #3237 from arcresu/mediafile
mediafile: replace with a re-export of beetbox/mediafile
2019-05-30 20:23:17 -04:00
Adrian Sampson
1835422934 Version bump: 1.5.0 2019-05-30 20:08:03 -04:00
Adrian Sampson
2b8a2eb96b Release date for 1.4.9 2019-05-30 19:32:42 -04:00
Adrian Sampson
2c6efc3127 Changelog for #3278 2019-05-30 19:32:14 -04:00
Adrian Sampson
7499130a2a Merge pull request #3278 from wisp3rwind/fix-ast-py38
functemplate: Adapt ast syntax to PEP570 changes on python3.8
2019-05-30 19:31:09 -04:00
Adrian Sampson
0ad084a706 Slight changelog reorg 2019-05-30 19:27:39 -04:00
Adrian Sampson
ade1df52a2 Use "feature detection" for 3.8 compat (#3278) 2019-05-30 18:14:40 -04:00
Dorian Soergel
5f88ec52a5 fetch only one work 2019-05-30 22:34:40 +02:00
Adrian Sampson
99778d9ece bpd tests: Randomize port number
This is a hacky but effective way to work around a problem when running
the tests in parallel where two different test executions want to use
the same port.
2019-05-30 12:02:47 -04:00
Adrian Sampson
a0f326e7b5 Changelog for #3275 2019-05-30 09:11:25 -04:00
Adrian Sampson
e4698a41da Merge pull request #3275 from beetbox/arcresu-patch-1
Make pathlib dependency in tests conditional
2019-05-30 09:08:49 -04:00
wisp3rwind
4ebb118f5f functemplate: Adapt ast syntax to PEP570 changes on python3.8 2019-05-30 11:20:48 +02:00
Carl Suster
7dfaec664a Update distro package links 2019-05-30 16:02:07 +10:00
Carl Suster
50b3d273d3
Merge pull request #3276 from beetbox/arcresu-patch-2
Make test_random work with setup.py test
2019-05-30 14:56:58 +10:00
Carl Suster
66e6359812
Make test_random work with setup.py test
Without this change `python setup.py test` fails to run, since this test was missing a `suite`.
2019-05-30 12:59:16 +10:00
Carl Suster
ece5726567
Make pathlib dependency in tests conditional
We already do this in the optional dependency section so this shouldn't cause any problems. It's only used by the `thumbnails` plugin.
2019-05-30 12:47:18 +10:00
Carl Suster
1de894ab83 Remove direct dependency on Mutagen 2019-05-29 09:36:01 +10:00
Carl Suster
48568c0e70 Changelog for #3237 2019-05-29 09:36:01 +10:00
Carl Suster
1289efeeee mediafile: update docs for MediaFile split 2019-05-29 09:35:14 +10:00