Skip to content

Commit 64b14bd

Browse files
authored
Bump version to 0.2.0 (#40)
* Add method to fetch users * Bump version to 0.2.0 * Bump version to 0.2.0
1 parent 0e64d8a commit 64b14bd

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "spotifyaio"
3-
version = "0.0.1"
3+
version = "0.2.0"
44
description = "Asynchronous Python client for Spotify."
55
authors = ["Joost Lekkerkerker <[email protected]>"]
66
maintainers = ["Joost Lekkerkerker <[email protected]>"]

tests/const.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
"""Constants for tests."""
2+
from importlib import metadata
23

34
SPOTIFY_URL = "https://api.spotify.com:443"
45

6+
version = metadata.version("spotifyaio")
7+
58
HEADERS = {
6-
"User-Agent": "AioSpotify/0.0.1",
9+
"User-Agent": f"AioSpotify/{version}",
710
"Accept": "application/json, text/plain, */*",
811
"Authorization": "Bearer test",
912
}

0 commit comments

Comments
 (0)