Skip to content

Commit 332a6ff

Browse files
authored
fix: distro requirement for analytics package (#204)
1 parent 28a7d35 commit 332a6ff

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 3.19.2 – 2025-03-11
2+
3+
1. Fix install requirements for analytics package
14

25
## 3.19.1 – 2025-03-11
36

@@ -34,7 +37,7 @@
3437

3538
## 3.14.2 - 2025-02-19
3639

37-
1. Evaluate feature flag payloads with case sensitivity correctly. Fixes <https://github.com/PostHog/posthog-python/issues/178>
40+
1. Evaluate feature flag payloads with case sensitivity correctly. Fixes <https://github.com/PostHog/posthog-python/issues/178>
3841

3942
## 3.14.1 - 2025-02-18
4043

setup_analytics.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,14 @@
1414
PostHog is developer-friendly, self-hosted product analytics. posthog-python is the python package.
1515
"""
1616

17-
install_requires = ["requests>=2.7,<3.0", "six>=1.5", "monotonic>=1.5", "backoff>=1.10.0", "python-dateutil>2.1"]
17+
install_requires = [
18+
"requests>=2.7,<3.0",
19+
"six>=1.5",
20+
"monotonic>=1.5",
21+
"backoff>=1.10.0",
22+
"python-dateutil>2.1",
23+
"distro>=1.5.0", # Required for Linux OS detection in Python 3.9+
24+
]
1825

1926
tests_require = ["mock>=2.0.0"]
2027

0 commit comments

Comments
 (0)