Skip to content

Commit d4395a2

Browse files
authored
chore: include storage-py into monorepo (#1211)
1 parent 20b7130 commit d4395a2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+7551
-412
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030

3131
- name: Install supabase cli latest
3232
uses: supabase/setup-cli@v1
33+
with:
34+
version: "latest"
3335

3436
- name: Install uv
3537
uses: astral-sh/setup-uv@v6

.release-please-manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"src/supabase": "2.18.1",
33
"src/realtime": "2.7.0",
4-
"src/functions": "0.10.1"
4+
"src/functions": "0.10.1",
5+
"src/storage": "0.12.1"
56
}

Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ default:
44
@echo "Available targets are: ci, pre-commit, publish"
55

66
ci: pre-commit
7-
make -C src/realtime tests
87
make -C src/functions tests
8+
make -C src/realtime tests
9+
make -C src/storage tests
910
make -C src/supabase tests
1011

1112
publish:
12-
uv build --project realtime
13-
uv build --project supabase
14-
uv build --project functions
13+
uv build --package realtime
14+
uv build --package storage3
15+
uv build --package supabase_functions
16+
uv build --package supabase
1517
uv publish
1618

1719
pre-commit:

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Python monorepo for all [Supabase](https://supabase.com) libraries. This is a wo
44

55
- [supabase](src/supabase/README.md)
66
- [realtime](src/realtime/README.md)
7+
- [supabase_functions](src/functions/README.md)
8+
- [storage3](src/storage/README.md)
79

810
Relevant links:
911

flake.lock

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

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
members = [
33
"src/realtime",
44
"src/functions",
5-
"src/supabase"
5+
"src/supabase",
6+
"src/storage"
67
]
78

89
[tool.uv.sources]
910
realtime = { workspace = true }
1011
supabase_functions = { workspace = true }
12+
storage3 = { workspace = true }
1113
supabase = { workspace = true }
1214

1315
[tool.pytest.ini_options]

release-please-config.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@
88
"src/functions": {
99
"changelog-path": "src/functions/CHANGELOG.md",
1010
"release-type": "python"
11-
}
11+
},
12+
"src/storage": {
13+
"changelog-path": "src/storage/CHANGELOG.md",
14+
"release-type": "python"
15+
},
1216
"src/supabase": {
1317
"changelog-path": "src/supabase/CHANGELOG.md",
1418
"release-type": "python"
15-
},
19+
}
1620
}
1721
}

src/functions/pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ authors = [
88
]
99
license = "MIT"
1010
readme = "README.md"
11-
repository = "https://github.com/supabase/supabase-py"
1211
requires-python = ">=3.9"
1312
dependencies = [
1413
"httpx[http2] >=0.26,<0.29",
1514
"strenum >=0.4.15",
1615
]
1716

17+
[project.urls]
18+
repository = "https://github.com/supabase/supabase-py"
19+
1820
[dependency-groups]
1921
tests = [
2022
"pyjwt >=2.8.0",

src/storage/CHANGELOG.md

Lines changed: 2047 additions & 0 deletions
Large diffs are not rendered by default.

src/storage/MAINTAINERS.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
This page lists all active maintainers of this repository. If you were a maintainer and would like to add your name to the Emeritus list, please send us a PR.
2+
3+
See CONTRIBUTING.md for general contribution guidelines.
4+
5+
# Maintainers (in alphabetical order)
6+
7+
- [anand2312](https://github.com/anand2312)
8+
9+
10+
# Emeritus Maintainers (in alphabetical order)
11+
- [dreinon](https://github.com/dreinon)
12+
- [fedden](https://github.com/fedden)
13+
- [J0](https://github.com/J0)
14+
- [leynier](https://github.com/leynier)
15+
16+

0 commit comments

Comments
 (0)