Commit graph

769 commits

Author SHA1 Message Date
Hugo dedcbf00f5
Remove deprecated license_file from setup.cfg (#303)
Remove deprecated license_file from setup.cfg
2019-05-13 11:21:39 +03:00
Hugo f439f205dc Xfail user.getArtistTracks, looks like Last.fm are now removing it from the API 2019-05-13 11:08:18 +03:00
Hugo 9ec4e99271 Update Black link 2019-05-10 09:03:03 +03:00
Hugo ce9ab4213e Remove deprecated license_file from setup.cfg 2019-05-10 09:02:53 +03:00
Hugo 05a7fc07f1 Black is now under the PSF umbrella https://twitter.com/llanga/status/1123980466292445190 2019-05-04 20:57:05 +03:00
Hugo a52f66d316
Merge pull request #301 from pylast/mv-to-src
Move installable code to src/
2019-04-14 19:10:27 +03:00
Hugo ab77165ecc Revert "Don't fail due to Last.fm bug"
This reverts commit c3b36433b2.
2019-04-14 18:35:10 +03:00
Hugo b9ef29fa21 Simplify via https://blog.ionelmc.ro/2014/05/25/python-packaging/#the-structure 2019-04-05 10:48:58 +03:00
Hugo c3b36433b2 Don't fail due to Last.fm bug 2019-04-05 09:00:31 +03:00
Hugo 1a78c0b99d Move production code to src/ 2019-04-05 08:37:01 +03:00
Hugo df6e31b4ff
Merge pull request #297 from pylast/retry-fetch
Retry paging through results on exception
2019-04-04 22:54:46 +03:00
hugovk a5c53dbf54 Start new release cycle 2019-03-07 09:44:45 +02:00
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