Skip to content

Commit 8a80321

Browse files
authored
build: Don't package conftest.py in wheel (#826)
Fixes #825
2 parents 49290f1 + f957aa2 commit 8a80321

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

CHANGES

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ $ pipx install --suffix=@next 'tmuxp' --pip-args '\--pre' --force
1919

2020
- _Insert changes/features/fixes for next release here_
2121

22+
## tmuxp 1.15.2 (unreleased)
23+
24+
**Maintenance release, no features or fixes**
25+
26+
### Packaging
27+
28+
- Move conftest.py to root, to avoid packaging in wheel (#826 vs #825)
29+
2230
## tmuxp 1.15.1 (2022-09-23)
2331

2432
**Maintenance release, no features or fixes**

src/tmuxp/conftest.py renamed to conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
"""Conftest.py (root-level)
2+
3+
We keep this in root pytest fixtures in pytest's doctest plugin to be available, as well
4+
as avoiding conftest.py from being included in the wheel.
5+
"""
16
import logging
27
import os
38
import pathlib

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ include = [
3232
{ path = "tests", format = "sdist" },
3333
{ path = "examples", format = "sdist" },
3434
{ path = "docs", format = "sdist" },
35+
{ path = "conftest.py", format = "sdist" },
3536
]
3637

3738
[tool.poetry.urls]

tests/conftest.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)