Skip to content

Commit 9029c63

Browse files
Merge pull request #30 from EO-DataHub/patch/eodhp-1352-clean-up-repos
dynamic versioning
2 parents eb207ea + b885a47 commit 9029c63

File tree

3 files changed

+20
-17
lines changed

3 files changed

+20
-17
lines changed

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
[project]
2626
name = "resource-catalogue-fastapi"
27-
version = "0.1.0"
27+
dynamic = ["version"]
2828
description = "A FastApi deployment to handle requests to update the resource catalogue"
2929
readme = "README.md"
3030

@@ -115,7 +115,7 @@ changelog = "CHANGEME-https://github.com/UKEODHP/.../master/CHANGELOG.md"
115115
[build-system]
116116
# These are the assumed default build requirements from pip:
117117
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
118-
requires = ["setuptools>=69.0.0", "wheel"]
118+
requires = ["setuptools>=69.0.0", "wheel", "setuptools-git-versioning>=2.0,<3"]
119119
build-backend = "setuptools.build_meta"
120120

121121
[tool.pytest.ini_options]
@@ -127,6 +127,9 @@ markers = [
127127
[tool.setuptools]
128128
packages = []
129129

130+
[tool.setuptools-git-versioning]
131+
enabled = true
132+
130133
[tool.black]
131134
line-length = 100
132135
target-version = ['py311']

requirements-dev.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ anyio==4.9.0
1212
# starlette
1313
black==25.1.0
1414
# via resource-catalogue-fastapi (pyproject.toml)
15-
boto3==1.38.39
15+
boto3==1.39.0
1616
# via resource-catalogue-fastapi (pyproject.toml)
17-
botocore==1.38.39
17+
botocore==1.39.0
1818
# via
1919
# boto3
2020
# s3transfer
@@ -45,7 +45,7 @@ durationpy==0.10
4545
# via kubernetes
4646
execnet==2.1.1
4747
# via pytest-xdist
48-
fastapi==0.115.13
48+
fastapi==0.115.14
4949
# via resource-catalogue-fastapi (pyproject.toml)
5050
filelock==3.18.0
5151
# via virtualenv
@@ -80,9 +80,9 @@ mypy-extensions==1.1.0
8080
# via black
8181
nodeenv==1.9.1
8282
# via pre-commit
83-
numpy==2.3.0
83+
numpy==2.3.1
8484
# via shapely
85-
oauthlib==3.3.0
85+
oauthlib==3.3.1
8686
# via
8787
# kubernetes
8888
# requests-oauthlib
@@ -115,7 +115,7 @@ pydantic==2.11.7
115115
# via fastapi
116116
pydantic-core==2.33.2
117117
# via pydantic
118-
pygments==2.19.1
118+
pygments==2.19.2
119119
# via pytest
120120
pyjwt==2.10.1
121121
# via resource-catalogue-fastapi (pyproject.toml)
@@ -134,7 +134,7 @@ pytest-mock==3.14.1
134134
# via resource-catalogue-fastapi (pyproject.toml)
135135
pytest-watcher==0.4.3
136136
# via resource-catalogue-fastapi (pyproject.toml)
137-
pytest-xdist==3.7.0
137+
pytest-xdist==3.8.0
138138
# via resource-catalogue-fastapi (pyproject.toml)
139139
python-dateutil==2.9.0.post0
140140
# via
@@ -157,7 +157,7 @@ requests-oauthlib==2.0.0
157157
# via kubernetes
158158
rsa==4.9.1
159159
# via google-auth
160-
ruff==0.12.0
160+
ruff==0.12.1
161161
# via resource-catalogue-fastapi (pyproject.toml)
162162
s3transfer==0.13.0
163163
# via boto3
@@ -185,7 +185,7 @@ urllib3==2.5.0
185185
# botocore
186186
# kubernetes
187187
# requests
188-
uvicorn==0.34.3
188+
uvicorn==0.35.0
189189
# via resource-catalogue-fastapi (pyproject.toml)
190190
virtualenv==20.31.2
191191
# via pre-commit

requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ annotated-types==0.7.0
88
# via pydantic
99
anyio==4.9.0
1010
# via starlette
11-
boto3==1.38.39
11+
boto3==1.39.0
1212
# via resource-catalogue-fastapi (pyproject.toml)
13-
botocore==1.38.39
13+
botocore==1.39.0
1414
# via
1515
# boto3
1616
# s3transfer
@@ -28,7 +28,7 @@ click==8.2.1
2828
# via uvicorn
2929
durationpy==0.10
3030
# via kubernetes
31-
fastapi==0.115.13
31+
fastapi==0.115.14
3232
# via resource-catalogue-fastapi (pyproject.toml)
3333
google-auth==2.40.3
3434
# via kubernetes
@@ -44,9 +44,9 @@ jmespath==1.0.1
4444
# botocore
4545
kubernetes==33.1.0
4646
# via resource-catalogue-fastapi (pyproject.toml)
47-
numpy==2.3.0
47+
numpy==2.3.1
4848
# via shapely
49-
oauthlib==3.3.0
49+
oauthlib==3.3.1
5050
# via
5151
# kubernetes
5252
# requests-oauthlib
@@ -109,7 +109,7 @@ urllib3==2.5.0
109109
# botocore
110110
# kubernetes
111111
# requests
112-
uvicorn==0.34.3
112+
uvicorn==0.35.0
113113
# via resource-catalogue-fastapi (pyproject.toml)
114114
websocket-client==1.8.0
115115
# via kubernetes

0 commit comments

Comments
 (0)