Skip to content

Commit cbd59ef

Browse files
committed
Do not attempt to install linux-specific deps on Windows
1 parent d27f725 commit cbd59ef

File tree

2 files changed

+10
-29
lines changed

2 files changed

+10
-29
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ absubmit = ["requests"]
4444
aura = ["flask", "flask-cors", "Pillow"]
4545
autobpm = ["librosa>=0.11", "resampy>=0.4.3"]
4646
beatport = ["requests-oauthlib>=0.6.1"]
47-
bpd = ["PyGObject"]
47+
bpd = ["PyGObject ; sys_platform != 'win32'"]
4848
chroma = ["pyacoustid>=1.3.1,<2"]
4949
discogs = ["python3-discogs-client>=2.3.15"]
5050
docs = [
@@ -65,11 +65,11 @@ kodiupdate = ["requests"]
6565
lastgenre = ["pylast"]
6666
lastimport = ["pylast"]
6767
lyrics = ["beautifulsoup4", "langdetect", "requests"]
68-
metasync = ["dbus-python"]
68+
metasync = ["dbus-python ; sys_platform != 'win32'"]
6969
mpdstats = ["python-mpd2>=0.4.2"]
7070
plexupdate = ["requests"]
7171
reflink = ["reflink"]
72-
replaygain = ["PyGObject"]
72+
replaygain = ["PyGObject ; sys_platform != 'win32'"]
7373
scrub = ["mutagen>=1.33"]
7474
sonosupdate = ["soco"]
7575
thumbnails = ["Pillow", "pyxdg"]
@@ -218,7 +218,7 @@ cmd = "uv sync --upgrade"
218218

219219
[tool.poe.tasks.test]
220220
help = "Run tests with pytest"
221-
cmd = "pytest $OPTS"
221+
cmd = "uv run pytest $OPTS"
222222
env.OPTS.default = "-p no:cov"
223223

224224
[tool.poe.tasks.test-with-coverage]

uv.lock

Lines changed: 6 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)