14
0
forked from pool/python-pylast

- update to 5.2.0:

* Support for Python 3.12
  * Drop support for EOL Python 3.7
  * Publish to PyPI with a Trusted Publisher
  * Document how to authenticate with a session key
- update to 5.1.0:
  * Support Python 3.11 (#399)
  * Migrate from setuptools + setuptools_scm to hatchling +
    hatch-vcs (#413) @hugovk
- update to 5.0.0:
  * Replace `http.client` with HTTPX (#379) @hugovk
  * Log method names at INFO level, also log API return data at
    DEBUG level
  * Drop support for Python 3.6 (#387) @hugovk
  * Remove deprecated `is_streamable` and
    `is_fulltrack_available` (#388) @hugovk
  * If album has no MBID, `album.get_getmbid()` returns None
  * [pre-commit.ci] pre-commit autoupdate (#362) @pre-commit-ci
- use python_expand for fdupes
  * Added
  * Changed
  * Fixed
    * Added
    * Removed
      * Remove deprecated Artist.get_cover_image,

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylast?expand=0&rev=26
This commit is contained in:
2024-01-07 21:13:49 +00:00
committed by Git OBS Bridge
parent 8358032625
commit 9c6f690652
4 changed files with 45 additions and 22 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:62800b72e971dadac40c3d6f538c6188219d6f53853ddc48d69d9fc25659018f
size 44070

3
pylast-5.2.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb046804ef56a0c18072c750d61a282d47ac102a3b0b9c44a023eaf5b0934b0a
size 41137

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Sun Jan 7 21:12:19 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 5.2.0:
* Support for Python 3.12
* Drop support for EOL Python 3.7
* Publish to PyPI with a Trusted Publisher
* Document how to authenticate with a session key
- update to 5.1.0:
* Support Python 3.11 (#399)
* Migrate from setuptools + setuptools_scm to hatchling +
hatch-vcs (#413) @hugovk
- update to 5.0.0:
* Replace `http.client` with HTTPX (#379) @hugovk
* Log method names at INFO level, also log API return data at
DEBUG level
* Drop support for Python 3.6 (#387) @hugovk
* Remove deprecated `is_streamable` and
`is_fulltrack_available` (#388) @hugovk
* If album has no MBID, `album.get_getmbid()` returns None
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 12 11:31:13 UTC 2022 - Dirk Müller <dmueller@suse.com> Wed Oct 12 11:31:13 UTC 2022 - Dirk Müller <dmueller@suse.com>
@@ -23,29 +44,29 @@ Sat Mar 26 18:47:58 UTC 2022 - Dirk Müller <dmueller@suse.com>
* Remove artist.shout("<3") in README.md (#369) @tieubinhco * Remove artist.shout("<3") in README.md (#369) @tieubinhco
* Bugfix for get_userloved and get_userplaycount resulting in an empty response from the server * Bugfix for get_userloved and get_userplaycount resulting in an empty response from the server
* Fix unsafe creation of temp file for caching, and improve exception raising (#356) @kvanzuijlen * Fix unsafe creation of temp file for caching, and improve exception raising (#356) @kvanzuijlen
* [pre-commit.ci] pre-commit autoupdate (#362) @pre-commit-ci * [pre-commit.ci] pre-commit autoupdate (#362) @pre-commit-ci
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 15 08:50:28 UTC 2022 - Dirk Müller <dmueller@suse.com> Tue Mar 15 08:50:28 UTC 2022 - Dirk Müller <dmueller@suse.com>
- use python_expand for fdupes - use python_expand for fdupes
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 22 07:20:38 UTC 2021 - andy great <andythe_great@pm.me> Mon Feb 22 07:20:38 UTC 2021 - andy great <andythe_great@pm.me>
- Update to 4.1.0. - Update to 4.1.0.
* Added * Added
* Add support for streaming (#336) @kvanzuijlen * Add support for streaming (#336) @kvanzuijlen
* Changed * Changed
* Update copyright year (#360) @hugovk * Update copyright year (#360) @hugovk
* Replace Travis CI with GitHub Actions * Replace Travis CI with GitHub Actions
* Fixed * Fixed
* Set limit to 50 by default, not 1 * Set limit to 50 by default, not 1
* Updates for 4.0.0. * Updates for 4.0.0.
* Added * Added
* Add support for Python 3.9. * Add support for Python 3.9.
* Removed * Removed
* Remove deprecated Artist.get_cover_image, * Remove deprecated Artist.get_cover_image,
User.get_artist_tracks and STATUS_TOKEN_ERROR. User.get_artist_tracks and STATUS_TOKEN_ERROR.
------------------------------------------------------------------- -------------------------------------------------------------------
@@ -121,7 +142,7 @@ Fri Mar 24 19:47:29 UTC 2017 - alarrosa@suse.com
* switch from HTTPConnection to HTTPSConnection * switch from HTTPConnection to HTTPSConnection
* Add missing dependency in README, update gitignore for JetBrains * Add missing dependency in README, update gitignore for JetBrains
* Update Libre.fm URL * Update Libre.fm URL
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 16 15:38:42 UTC 2016 - arun@gmx.de Mon May 16 15:38:42 UTC 2016 - arun@gmx.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pylast # spec file for package python-pylast
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,25 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
%define skip_python2 1
Name: python-pylast Name: python-pylast
Version: 4.5.0 Version: 5.2.0
Release: 0 Release: 0
Summary: A python interface to Last.fm Summary: A python interface to Last.fm
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/pylast/pylast URL: https://github.com/pylast/pylast
Source0: https://files.pythonhosted.org/packages/source/p/pylast/pylast-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/p/pylast/pylast-%{version}.tar.gz
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
Requires: python-httpx
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module coverage} BuildRequires: %{python_module coverage}
BuildRequires: %{python_module flaky} BuildRequires: %{python_module flaky}
BuildRequires: %{python_module httpx}
BuildRequires: %{python_module pyaml} BuildRequires: %{python_module pyaml}
BuildRequires: %{python_module pycodestyle} BuildRequires: %{python_module pycodestyle}
BuildRequires: %{python_module pyflakes} BuildRequires: %{python_module pyflakes}
@@ -58,10 +60,10 @@ Features:
%setup -q -n pylast-%{version} %setup -q -n pylast-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}/%{python_sitelib} %python_expand %fdupes %{buildroot}/%{python_sitelib}
%check %check
@@ -74,7 +76,7 @@ Features:
%doc README.md %doc README.md
%license COPYING %license COPYING
%dir %{python_sitelib}/pylast %dir %{python_sitelib}/pylast
%{python_sitelib}/pylast/* %{python_sitelib}/pylast
%{python_sitelib}/pylast-%{version}-py*.egg-info %{python_sitelib}/pylast-%{version}.dist-info
%changelog %changelog