Commit graph

638 commits

Author SHA1 Message Date
Hugo 887a47c515 Ignore new '.pytest_cache' directory 2018-04-11 11:25:42 +03:00
Hugo 85efc31c10 Close HTTPSConnection in case of exception 2018-04-11 10:38:00 +03:00
hugovk c929b5bd8f Show deprecation warnings for tests 2018-04-11 00:19:24 +03:00
Hugo 1181dc4f35
Link badges to all new PyPI
[CI skip]
2018-04-08 17:23:18 +03:00
Hugo 4cf7e8c727 Start new release cycle 2018-04-08 17:18:10 +03:00
Hugo 2e52023a22 Release 2.2.0 2018-04-08 17:12:36 +03:00
Hugo a607dbe491 flake8 2018-04-08 16:45:36 +03:00
Hugo 8b4866682d
Merge pull request #259 from pylast/use-markdown-on-pypi
Use Markdown on PyPI
2018-04-06 14:11:13 +03:00
Hugo c5684bb87a Use Markdown on PyPI 2018-04-06 13:11:28 +03:00
Hugo 72cdd8b979
Merge pull request #258 from pylast/fix-user.get_weekly_artist_charts
Fix user.get_weekly_artist_charts
2018-04-05 18:28:17 +03:00
Hugo dfb1ce2e2e
pylast 2.2.0 will support Python 3.7
[CI skip]
2018-04-05 18:10:59 +03:00
Hugo 892acd6df9 Artist charts have the artist name in the 'name' field. There is no 'artist' field. 2018-04-05 18:08:21 +03:00
Hugo 06f6cf627d Failing test for user.get_weekly_artist_charts 2018-04-05 18:02:16 +03:00
Hugo 68ebcf9487
Merge pull request #255 from pylast/python3.7
Add Python 3.7
2018-03-27 16:40:13 +03:00
Hugo 8c5799a4d6 Refactor lint to remove duplicate 2018-03-27 15:52:16 +03:00
Hugo f2ec5bc57e Add workaround for build failures on Python 3.7 (https://github.com/yaml/pyyaml/issues/126) 2018-03-27 15:52:16 +03:00
Hugo 20250237b9 Add Python 3.7 2018-03-26 19:41:54 +03:00
Hugo ea87739458
Merge pull request #254 from pylast/improve-test
Test against a certain user
2018-03-18 22:43:43 +02:00
Hugo 0759bf5b0c
Test against a certain user
One we know has more than two top tracks, rather than a new test user who might not.
2018-03-18 09:58:41 +02:00
Hugo aba895d56f
Merge pull request #252 from pylast/fix-mutable-default-argument
Do not use a mutable data structure for argument default
2018-03-15 22:10:04 +02:00
Hugo 8670a87255 Do not use a mutable data structure for argument default 2018-03-15 21:52:41 +02:00
Hugo 77e06add28 Add 'and Contributors' to Author 2018-03-15 10:27:51 +02:00
Hugo 0a152fa35d Codecov: Avoid "Missing base report" [CI skip] 2018-03-01 11:47:03 +02:00
Hugo c882d8dea3
Merge pull request #251 from pylast/fix-tests
Fix test case for changed test data on Last.fm
2018-03-01 11:42:00 +02:00
Hugo acdc23d7e7 Fix test case for changed test data 2018-03-01 11:24:53 +02:00
Hugo b87fefe9ab Move track tests to test_track.py 2018-03-01 11:23:06 +02:00
Hugo 36f7e9619b Shorten test names 2018-03-01 11:19:34 +02:00
Hugo 6fd84421bd
Merge pull request #250 from redshodan/get-similar-limit
Add missing limit parameter for track.getSimilar
2018-03-01 11:12:03 +02:00
Chris Newton 9cb6f6e181 Added a test case for limits on track.getSimilar 2018-02-28 20:28:56 -07:00
Chris Newton bb589a4d21 Add missing limit parameter for track.getSimilar 2018-02-28 17:04:46 -07:00
Hugo 612eb75080
Merge pull request #248 from pylast/add-templates
Add issue and PR templates
2018-02-08 14:25:52 +02:00
Hugo fa425188db Add issue and PR templates 2018-02-08 14:14:25 +02:00
Hugo adea26ec4c
Merge pull request #247 from pylast/use-named-version-attributes
Simplify version checking
2018-02-08 14:04:26 +02:00
Hugo 8e478e79ea Treat Py2 (not Py3) as the special case https://astrofrog.github.io/blog/2016/01/12/stop-writing-python-4-incompatible-code/ 2018-02-06 17:47:39 +02:00
Hugo 41f8ae95d1 Use named version attributes (new in Py2.7) 2018-02-06 17:46:08 +02:00
Hugo b02b830282 Remove Landscape badge, it's failing to check 2018-01-27 13:34:54 +02:00
Hugo 99ad248e6d Ignore Clone Digger output 2018-01-27 13:34:01 +02:00
Hugo e0f52ac27d
Merge pull request #245 from pylast/update-unittest-asserts
Use more helpful assert methods
2018-01-27 13:16:22 +02:00
Hugo 4f4d204300 Define __ne__ in terms of == instead of __eq__ 2018-01-27 13:01:22 +02:00
Hugo 2703b6b385 Use more helpful asserts, remove redundant 2018-01-27 12:59:20 +02:00
Hugo d1ea097cd7 Start new release cycle 2018-01-14 20:05:48 +02:00
Hugo 2389f745e1 Release 2.1.0 2018-01-14 20:01:42 +02:00
Hugo 423db55bd0
Merge pull request #244 from pylast/fix-cache-key-lookup-performance
Fix serious cache key lookup performance problem
2018-01-11 12:27:52 +02:00
Mice Pápai d24100f2db Fix serious cache key lookup performance problem
Checking if a request is cached or not took ~6sec / item vs <0.01sec now, because __contains__ wasn't definied for the _ShelfCacheBackend class and it iterated over each cache key on every check
2018-01-11 12:14:10 +02:00
Hugo a1e10e75cd
Merge pull request #243 from pylast/242-limit-100
Use paging to get all 'limit' items for Artist.get_top_albums
2018-01-11 11:50:07 +02:00
Hugo 309b156fca Use paging to get all 'limit' items for Artist.get_top_albums (and others using _get_things) 2018-01-11 11:36:14 +02:00
Hugo 22e03705c4 Passing test for limit=1 or 50, failing test for 100 2018-01-11 10:37:01 +02:00
Hugo edeec178c5 Make checklist more copy/pastable [CI skip] 2018-01-04 17:04:47 +02:00
Hugo 348d2ce7ba Update year 2018-01-04 16:58:37 +02:00
Hugo 969cbeb36c
Merge pull request #240 from pylast/python_requires
Update python_requires to 2.7.10+
2017-12-09 23:06:24 +02:00