Skip to content

Commit 795ee41

Browse files
authored
chore: enforce 7-day minimum release age via uv exclude-newer (#476)
1 parent fc4e85a commit 795ee41

11 files changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude-newer = "7 days"

examples/example-ai-gemini/uv.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude-newer = "7 days"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude-newer = "7 days"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude-newer = "7 days"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude-newer = "7 days"

examples/example-ai-openai/uv.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude-newer = "7 days"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude-newer = "7 days"

integration_tests/django5/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ dependencies = [
1414

1515
[tool.uv]
1616
required-version = ">=0.5"
17+
exclude-newer = "7 days"
1718

1819
[tool.uv.sources]
1920
posthog = { path = "../..", editable = true }

playgrounds/fastapi-exception-capture/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@ version = "0.1.0"
44
requires-python = ">=3.9"
55
dependencies = ["fastapi>=0.104.0", "uvicorn[standard]>=0.24.0", "posthog"]
66

7+
[tool.uv]
8+
exclude-newer = "7 days"
9+
710
[tool.uv.sources]
811
posthog = { path = "../..", editable = true }

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ packages = [
9595
"posthog.integrations",
9696
]
9797

98+
[tool.uv]
99+
exclude-newer = "7 days"
100+
98101
[tool.pytest.ini_options]
99102
asyncio_mode = "auto"
100103
asyncio_default_fixture_loop_scope = "function"

0 commit comments

Comments
 (0)