Commit graph

1057 commits

Author SHA1 Message Date
hugovk 694f67b25a Release 3.1.0 2019-03-07 09:27:32 +02:00
Hugo c95e39b624
Merge pull request #299 from pylast/deprecate-User.get_artist_tracks
Deprecate User.get_artist_tracks, add user.getTrackScrobbles
2019-03-07 09:07:59 +02:00
Hugo 2284dcf580 Update docs 2019-02-27 19:56:29 +02:00
Hugo da473448f4 Add support for new user.getTrackScrobbles 2019-02-27 19:47:31 +02:00
Hugo dc464788f2 Aside: make test_album_tags_are_topitems more reliable 2019-02-27 17:19:20 +02:00
Hugo 65e182c5dd Aside: make test_scrobble more reliable 2019-02-27 17:01:23 +02:00
Hugo 9d125506e5 Deprecate User.get_artist_tracks as Last.fm will remove it soon 2019-02-26 22:53:31 +02:00
Hugo 86c979204d year++ 2019-02-10 17:30:04 +02:00
Hugo 9b2ada5dd0 Retry on any exception
Also seen these when testing:

WSError: User not found
MalformedResponseError: Malformed response from Last.fm. Underlying error: mismatched tag: line 6, column 2
NetworkError: NetworkError: [Errno 8] nodename nor servname provided, or not known
2019-02-10 16:06:58 +02:00
Hugo f32848160c Make test more reliable: check a static album not a dynamic one which may not have any tags 2019-02-10 11:58:40 +02:00
Hugo bfd3ffe06c Retry on temporary error when paging 2019-02-10 11:31:42 +02:00
Hugo e38d1c516b Update error status codes from https://www.last.fm/api/errorcodes 2019-02-09 23:18:51 +02:00
Hugo 69b54e8c45 Update encrypted password 2019-02-03 20:56:42 +02:00
Hugo 29f38f9531
Merge pull request #295 from pylast/deploy-to-pypi-on-tag
Deploy to PyPI on master
2019-02-03 20:28:55 +02:00
Hugo 5406261679 In case lint is done on 'python: 3.7', deploy on a TOXENV 2019-02-03 15:08:35 +02:00
Hugo deb25fb030 Deploy to PyPI on master 2019-02-03 15:08:35 +02:00
Hugo 6a1a5a450e
Merge pull request #294 from pylast/fix-test
Fix the build
2019-02-03 15:07:05 +02:00
Hugo b41c5bc85a Add a delay to allow Last.fm to update unloves 2019-02-03 14:39:21 +02:00
Hugo d9c086f8cb
Merge pull request #293 from pylast/fix-test
Fix the build
2019-02-03 14:23:20 +02:00
Hugo 0ad27dbc7e Only run test_unlove on a single Python version to avoid collisions 2019-02-03 14:02:28 +02:00
Hugo 7f207c50da Add a delay to allow Last.fm to update unloves 2019-02-03 13:55:54 +02:00
Hugo d7750d8131
Merge pull request #292 from pylast/shuffle-test-order
Fix the build
2019-02-03 13:38:40 +02:00
Hugo 4eec2e763d Only run test_love on a single Python version to avoid collisions 2019-02-03 12:51:44 +02:00
Hugo d4fe9e5b36 Add a delay to allow Last.fm to update scrobbles 2019-02-03 12:42:50 +02:00
Hugo cfb8134872 Only run test_scrobble on a single Python version to avoid collisions 2019-02-02 14:15:31 +02:00
Hugo 850d746b60 Test in random order to prevent collisions 2019-02-02 13:54:18 +02:00
Hugo 45a1b7c7f1 Test in random order to prevent collisions 2019-02-02 13:40:17 +02:00
Hugo b30fe33cc1 The future is now 2019-01-27 14:42:46 +02:00
Hugo 71e9871b1b
sudo no longer needed
https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2019-01-09 16:19:22 +02:00
Hugo 1a31e4e0c3 Add #290 to changelog 2019-01-06 15:39:12 +02:00
Hugo van Kemenade d121f2c9cf
Merge pull request #290 from jacebrowning/fix-blank-username
Extract username from session
2019-01-06 15:33:20 +02:00
Jace Browning fffc647811 Shorten line length 2019-01-05 20:15:49 -05:00
Jace Browning 0a38ac801d Ignore line length rules in favor of black formatting 2019-01-05 16:28:12 -05:00
Jace Browning aa8adfee4b Create a separate method for extracting username 2019-01-05 16:19:47 -05:00
Jace Browning e77e0f9e35 Extract username from session 2019-01-05 14:32:36 -05:00
Hugo 6134945df7 Update release checklist 2019-01-02 14:43:52 +02:00
Hugo 9968d5f06e Start new release cycle 2019-01-01 18:05:12 +02:00
Hugo f67afa0d58 Update release checklist 2019-01-01 18:01:42 +02:00
Hugo eb53483f6f Release 3.0.0 2019-01-01 17:13:16 +02:00
Hugo c9fa096ef2 No need for .git extension 2018-12-30 13:13:49 +02:00
Hugo 4626ff9670 Reorder setup params 2018-12-30 13:13:49 +02:00
Hugo 718fba04b8
Merge pull request #289 from pylast/rm-2-3.4
Drop support for legacy Python 3.4
2018-12-30 00:18:54 +02:00
hugovk ee879aa042 Upgrade Python syntax with pyupgrade --py3-plus 2018-12-30 00:08:30 +02:00
hugovk 742df8b674 Drop support for Python 3.4 (EOL 2019-03-16) 2018-12-30 00:08:30 +02:00
Hugo 53806b0a71
Merge pull request #282 from pylast/rm-deprecated-constants
Remove deprecated COVER_X constants
2018-12-30 00:02:23 +02:00
Hugo 7707c3ced4
Merge branch 'master' into rm-deprecated-constants 2018-12-29 23:47:16 +02:00
Hugo d63c0db472
Merge pull request #281 from pylast/rm-2
Drop support for legacy Python 2
2018-12-29 23:44:36 +02:00
Hugo 07fac0628c Drop support for legacy Python 2 2018-11-27 08:59:01 +02:00
Hugo 5fded8398b
Merge pull request #288 from hugovk/add-3.8-dev
CI: Test on 3.8-dev, remove 3.6-dev and 3.7-dev
2018-11-27 00:09:00 +02:00
hugovk 51821e4a9a Xenial required for 3.7+ 2018-11-26 23:25:58 +02:00