Commit graph

229 commits

Author SHA1 Message Date
Serene-Arc
33ab22db8c Increment version numbers to 2.0.0 2024-05-30 04:05:25 +00:00
Šarūnas Nejus
8b4983fe7c
Add pytest and coverage configuration
Add `pytest-cov` which automatically measures coverage while tests are
executing and update tox and ci build configuration accordingly.

Add configuration for coverage:
  1. Enable analysing logical branches
  2. Save coverage details as HTML for local development use
  3. Configure the HTML output to include coverage context: on the
     right-hand side of each covered code line there is an expandable
     section which lists every test that ran that line.
2024-05-04 10:24:28 +01:00
Lars Kruse
3c2a66e148 build: add missing "beets.test" package
In commit 508d28f66b the package `beets.test` was introduced.
But it was not added to the list of packages in `setup.py`.
Thus, it was not part of a beets installation for now.
2024-01-18 00:13:48 +01:00
Lars Kruse
7b1bee6c38 style: apply alphabetical order to all lists in setup.py 2024-01-18 00:02:33 +01:00
J0J0 Todos
df2b173029 Replace Sphinx theme requirement in setup.py
and in add to deps in tox.ini.
2023-10-23 13:25:38 +02:00
Serene-Arc
a6e5201ff3 Apply formatting tools to all files
This is 'the big one', which touches every file so that it all conforms
to the given standard.
2023-10-22 09:53:18 +10:00
Jesse Bannon
f72261e44f
Add support for artists and albumartists multi-valued tags (#4743)
Adds the following fields with id3v2.4 multi-valued tag support to autotag:
    - artists, artists_sort, artists_credit
    - albumartists, albumartists_sort, albumartists_credit
    - mb_artistids, mb_albumartistids

MusicBrainz support to populate + write the above multi-valued tags by default. Can be toggled to use id3v2.3 or id3v2.4 tags via the existing beets configuration option `id3v23`.

Big thanks to @JOJ0, @OxygenCobalt, @arsaboo for testing + @sampsyo for the initial code review .
2023-09-09 09:46:26 +02:00
Serene-Arc
2b29bccd14 Add requirement necessary for typings 2023-06-02 15:20:50 +10:00
Alok Saboo
654b57f50a Make beautifulsoup optional 2023-04-28 08:47:32 -04:00
ghbrown
f1b7832d52 Change minimum discogs_client version to 2.3.15 2023-03-10 15:28:29 -06:00
Stefano Pigozzi
87c43a0b88
Merge remote-tracking branch 'upstream/master' into sphinx-deps 2023-03-08 13:43:22 +00:00
Benedikt
22ca6eff82
Merge pull request #4374 from wisp3rwind/pr_drop_old_python
Drop Python 3.6, some Python 2 + Python <= 3.6 cleanup
2023-02-19 10:19:36 +01:00
Stefano Pigozzi
71ed854d1e
Add sphinx and sphinx_rtd_theme as deps for a new docs extra 2023-01-20 12:11:52 +01:00
wisp3rwind
bd09cc90b6 drop Python 3.6: docs, a few safe simplifications 2022-12-18 09:20:04 +01:00
wisp3rwind
e577838631 add mypy tox environment and dependencies 2022-12-18 09:09:49 +01:00
Adrian Sampson
5ae1e0f3c8
Adapt tests to latest Unidecode version
Unidecode 1.3.5 (a yanked PyPI version) changed the behavior of
Unidecode for some specific characters:

> Remove trailing space in replacements for vulgar fractions.

As luck would have it, our tests used the 1/2 character specifically to
test the behavior when these characters decoded to contain slashes. We
now pin a sufficiently recent version of Unidecode and adapt the tests
to match the new behavior.
2022-10-01 10:33:26 -07:00
Julien Cassette
4f83b2d8a6 Add the item fields bitrate_mode, encoder_info and encoder_settings 2021-12-17 21:59:57 +01:00
Adrian Sampson
3c7853712f
Require confuse >= 1.5.0
Fixes #4167.
2021-11-28 08:43:23 -05:00
Adrian Sampson
e3f4e19298
Version bump: v1.6.1 2021-11-27 11:38:48 -05:00
Adrian Sampson
f33606c87a
Switch version to 1.6.0
Especially with the Python version changes, it seems like this justifies
more than a 0.0.1 bump.
2021-11-27 11:17:14 -05:00
Kirill A. Korinsky
c78bd2972c
Add missed py7zr dependency 2021-11-21 20:10:30 +01:00
wisp3rwind
786236f046 remove the gmusic plugin 2021-10-30 14:46:14 +02:00
maffo999
ad4fb610a1 Added version dependency for python3-discogs-client. PR 4118 2021-10-22 08:32:06 +02: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
e262766580 pyupgrade root 2021-08-25 15:27:16 +10:00
Adrian Sampson
2ff7e6bc47
Fix missing comma in setup.py 2021-08-19 16:57:47 -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
Andrew Rogl
9ce93faa22 Flake8 setup.py 2021-05-07 22:33:11 +10:00
Andrew Rogl
45e63e6838 fix up setup 2021-05-07 22:30:14 +10:00
Andrew Rogl
533559136e Add 7z file support #3906 2021-05-07 22:04:46 +10:00
wisp3rwind
89624cf0a1 setup.py: add 3.9 classifier, add note about ffmpeg dep for replaygain 2021-03-22 19:04:49 +01:00
George Rawlinson
00252ab28f
Fix #3608: Replace discogs-client with python3-discogs-client
discogs-client has been deprecated since June 2020, the replacement
is actively developed by the community and does not have any breaking
API changes.

Signed-off-by: George Rawlinson <george@rawlinson.net.nz>
2021-02-27 10:09:23 +13:00
Jack Wilsdon
dc0350d6ff Remove flake8-blind-except flake8 extension
pycodestyle 2.1.0 now raises a lint error on blind "except" statements,
whereas this library now raises a lint error on "except Exception"
instead (which is something we don't really want).
2021-01-08 18:21:07 +00:00
Adrian Sampson
9657919968
Merge pull request #3088 from rubdos/reflink
Add reflink option
2020-11-27 13:29:10 -05:00
jtpavlock
9291d9c304
Fix rarfile 4.0 dependency conflict (#3711) 2020-08-01 16:35:53 -05:00
Jacob Pavlock
019055c156 add docstring checks to flake8
currently ignore all errors on a per-file basis
2020-07-29 17:21:15 -07:00
Ruben De Smet
43f27506bf Make reflink optional 2020-07-22 18:04:44 +02:00
Ruben De Smet
7fb3c24c10 Add reflink to setup requirements and config. 2020-07-22 18:00:21 +02:00
Jacob Pavlock
723e04ebb3 deprecate tests_require in favor of extras 2020-07-06 17:02:23 -07:00
Adam Jakab
bc53695f24 added missing test requirement 2020-02-22 01:56:57 +01:00
Adrian Sampson
bc9e9664fd Drop Python 3.4; add Travis builds for 3.8 2019-12-10 13:03:53 -05:00
Zsin Skri
a7e2de2499 require mediafile 0.2.0
mediafile 0.2.0 includes the changes used by commit f645400. Update setup.py to
reflect that new version requirement.
2019-06-20 12:50:11 +02:00
FichteFoll
728203e15a
beets.io now supports HTTPS
See https://github.com/beetbox/beets/pull/3297.
2019-06-06 15:34:15 +02:00
FichteFoll
aa31fea037
Update a lot of URLs to use HTTPS
*All* URLs were checked manually, but only once per domain!

I mostly concerned myself with URLs in documentation rather than source
code because the latter may or may not have impactful changes, while the
former should be straight forward.

Changes in addition to simply adding an s:

- changed pip and pypi references as their location has changed
- MPoD (iOS app) url redirects to Regelian, so I replaced those
- updated homebrew references

Notable observations:

- beets.io does have HTTPS set up properly (via gh-pages)
- beatport.py uses the old HTTP url for beatport
- as does lyrics.py for lyrics.wikia.com
- https://tomahawk-player.org/ expired long ago, but the http page
  redirects to https regardless
- none of the sourceforge subdomains have https (in 2019!)
2019-06-05 03:11:49 +02: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
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
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