From ce9ab4213ecb4d38133a4f0c9082cb16be7f6e98 Mon Sep 17 00:00:00 2001 From: Hugo Date: Fri, 10 May 2019 09:02:53 +0300 Subject: [PATCH 1/3] Remove deprecated license_file from setup.cfg --- setup.cfg | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 0fa133b..3d9c412 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,8 +5,5 @@ universal = 1 ignore = W503 max_line_length = 88 -[metadata] -license_file = COPYING - [pycodestyle] max_line_length = 88 From 9ec4e99271fbbe86ee2a4552637680fa87159e3f Mon Sep 17 00:00:00 2001 From: Hugo Date: Fri, 10 May 2019 09:03:03 +0300 Subject: [PATCH 2/3] Update Black link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c404593..cb8d2de 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ pyLast [![Build status](https://travis-ci.org/pylast/pylast.svg?branch=master)](https://travis-ci.org/pylast/pylast) [![Coverage (Codecov)](https://codecov.io/gh/pylast/pylast/branch/master/graph/badge.svg)](https://codecov.io/gh/pylast/pylast) [![Coverage (Coveralls)](https://coveralls.io/repos/github/pylast/pylast/badge.svg?branch=master)](https://coveralls.io/github/pylast/pylast?branch=master) -[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/black/black) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black) A Python interface to [Last.fm](https://www.last.fm/) and other API-compatible websites such as [Libre.fm](https://libre.fm/). From f439f205dc4c407d010ceb953d9dd4683c41a51b Mon Sep 17 00:00:00 2001 From: Hugo Date: Mon, 13 May 2019 11:08:18 +0300 Subject: [PATCH 3/3] Xfail user.getArtistTracks, looks like Last.fm are now removing it from the API --- tests/test_album.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_album.py b/tests/test_album.py index 2d47720..c1eb4a8 100755 --- a/tests/test_album.py +++ b/tests/test_album.py @@ -5,6 +5,8 @@ Integration (not unit) tests for pylast.py import unittest import warnings +import pytest + import pylast from .test_pylast import TestPyLastWithLastFm @@ -40,6 +42,7 @@ class TestPyLastAlbum(TestPyLastWithLastFm): # Assert self.assertTrue(hasattr(track, "album")) + @pytest.mark.skip(reason="Last.fm is removing from API") def test_album_in_artist_tracks(self): # Arrange lastfm_user = self.network.get_user(self.username)