Commit graph

472 commits

Author SHA1 Message Date
Mice Pápai
2137605ced 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
2017-05-05 10:52:01 +02:00
Mice Pápai
281bb7c453 Fix typos and style 2017-05-05 10:46:31 +02:00
Mice Pápai
4c820d8565 Fix unclosed SSLSocket warning, Update credits 2017-05-05 10:39:04 +02:00
Mice Pápai
7192a33207 Fix: _collect_nodes() break if there are no child nodes 2017-04-26 01:13:43 +02:00
Mice Pápai
b664509bd4 Fix Album.get_tracks() error (wrong positional argument) 2017-04-26 01:10:16 +02:00
hugovk
76c9310341 Create a dist before upload 2017-02-13 20:42:46 +02:00
hugovk
b342bcc8c2 Release 1.8.0 2017-02-13 20:35:18 +02:00
hugovk
506a911c57 Merge branch 'develop' 2017-02-13 20:32:09 +02:00
hugovk
a9549030f4 flake8 2017-02-13 19:39:07 +02:00
Hugo
210789a5fe Update error message for test_init_with_token
https://github.com/pylast/pylast/pull/198#issuecomment-279208373
2017-02-13 09:01:04 +02:00
Hugo
3f8b03f48c Merge pull request #198 from pylast/develop
Merge develop into master
2017-02-12 22:47:47 +02:00
Hugo
3de3c55244 Merge pull request #194 from jacebrowning/auth-token
Support authentication tokens to construct networks
2017-02-08 21:38:34 +02:00
Jace Browning
80f391761c Support authentication tokens to construct networks
Closes #193
2017-02-06 22:44:15 -05:00
Hugo
eff3f882f6 pep8 example code
[CI skip]
2017-02-04 11:15:06 +02:00
Hugo
b747916147 Add Codecov badge
Test drive Codecov alongside Coveralls for a bit
[CI skip]
2017-02-04 11:08:08 +02:00
Hugo
2a46500aab Update Coveralls badge
SVG not PNG, consistent with others
[CI skip]
2017-02-04 11:06:05 +02:00
Hugo
7fa1c20055 Newlines for badges
Rendered the same, but markdown is clearer.
[CI skip]
2017-02-04 11:05:05 +02:00
Hugo
41db3f5a6e Merge pull request #196 from hugovk/codecov
Add Codecov for coverage
2017-02-03 14:48:27 +02:00
hugovk
4c520eab4a Add Codecov 2017-02-03 09:20:02 +02:00
Hugo
733617adf6 Merge pull request #195 from DavidMetcalfe/patch-1
Update README.md: Updating broken Last.fm API URL to 
working one.
2017-02-03 08:17:23 +02:00
David Metcalfe
a4ec4b5b82 Update README.md
Updating broken Last.fm API URL to working one.
2017-02-02 21:27:13 -08:00
hugovk
7b3ab250df Release 1.7.0 2017-01-03 16:26:22 +02:00
Hugo
6a39962d51 Upload to PyPI with twine
The old method fails:
```
Submitting dist/pylast-1.7.0.tar.gz to https://upload.pypi.org/legacy/
Upload failed (403): Invalid or non-existent authentication information.
error: Upload failed (403): Invalid or non-existent authentication information.
```
Also don't need to register with twine, despite what its docs say.
[CI skip]
2017-01-03 16:25:50 +02:00
Hugo
a3cf6644fa Merge pull request #189 from pylast/develop
Merge develop into master
2017-01-03 14:55:49 +01:00
Hugo
5aa61367e0 Link to develop->master PR
[CI skip]
2017-01-03 15:47:24 +02:00
Hugo
b410ae8b8d Add Python 3.5 and 3.6 (#188) 2017-01-02 21:07:21 +01:00
Hugo
852d575415 Merge pull request #179 from pylast/update-libre.fm-url
Update Libre.fm URL
2017-01-02 15:14:29 +01:00
hugovk
76d85f4c19 Update libre.fm test 2017-01-02 15:25:21 +02:00
hugovk
571edf23d9 Separate Libre.fm test from Last.fm tests 2016-10-30 12:25:10 +02:00
hugovk
ebee3f5568 Error can be Libre.fm or Last.fm 2016-10-30 10:54:35 +02:00
Hugo
cdd441dda1 Merge pull request #178 from simmel/https
Only use HTTPS
2016-10-30 10:45:26 +02:00
Simon Lundström
99d567492f Use default SSL context when possible
https://docs.python.org/2/library/ssl.html#best-defaults

Deal with older Pythons which didn't do certificate validation, have
sane defaults or even provided a cipher string.
2016-10-29 23:45:22 +02:00
Alejandro Angulo
44c592df45 switch from HTTPConnection to HTTPSConnection 2016-10-15 12:44:03 +02:00
Alejandro Angulo
373109c0d7 don't want user creds in the repo 2016-10-15 12:44:03 +02:00
Hugo
04a3cf7b0a Merge pull request #182 from tyrostone/fix_dev_setup
Add missing dependency in README, update gitignore for JetBrains
2016-10-13 17:25:16 +03:00
Laura Stone
2905eaf8e2 Add missing dependency in README, update gitignore for JetBrains 2016-10-13 10:19:13 -04:00
Hugo
3bf6570a83 Update Libre.fm URL 2016-10-07 18:02:10 +03:00
Hugo
3d9e863cd3 Caps and things
[CI skip]
2016-09-06 10:32:05 +03:00
hugovk
54c4f9c093 Release 1.6.0 2016-04-23 17:28:27 +03:00
Hugo
91bee5b016 Merge pull request #172 from pylast/develop
Prepare for release
2016-04-23 17:12:10 +03:00
Hugo
b8de00a17b Merge pull request #169 from EdwardBetts/patch-1
Include tests in release source tarball
2016-04-23 17:10:38 +03:00
Hugo
ebde12537d Merge pull request #170 from hugovk/skip-broken-Lastfm-API
Skip broken tests caused by the broken Last.fm API
2016-04-23 16:21:25 +03:00
hugovk
4732bf3750 Skip tests if Last.fm API still broken 2016-04-23 15:46:49 +03:00
hugovk
ea33074941 Skip test if Last.fm API still broken 2016-04-23 15:28:07 +03:00
hugovk
4c8d2e2a9b Split test into passing and failing tests 2016-04-23 15:27:28 +03:00
hugovk
8195725500 Skip tests if Last.fm API still broken 2016-04-23 14:48:29 +03:00
Edward Betts
5eca8f556b Include tests in release source tarball
A test suite is a very useful thing, it would be great to include it in the pypi release tarball. That way people who download and build the release can run the tests to ensure the library is working.

Linux distributions, such as Debian, base their packages of Python modules on the pypi release. This means the test suite can be run when building a Debian package, and so catch mistakes in the packaging or errors introduced into dependencies.

I've written some more on this topic on the Debian Python mailing list: https://lists.debian.org/debian-python/2016/04/msg00074.html
2016-04-23 10:22:51 +01:00
Hugo
a60793ef1f Update year
[CI skip]
2016-02-10 11:41:32 +02:00
Hugo
8202bbe76a Merge pull request #167 from hugovk/pep8
pep8 fixes for #153
2016-02-09 11:26:54 +02:00
hugovk
97c1fcc5ec pep8 fixes for #153 2016-02-09 11:24:03 +02:00