Skip to content

Commit

Permalink
Merge pull request #1 from santosh-d3vpl3x/centralize_version_management
Browse files Browse the repository at this point in the history
Centralize the version management
  • Loading branch information
santosh-d3vpl3x authored Sep 4, 2024
2 parents 19b0e7e + 23621d8 commit cce0dde
Show file tree
Hide file tree
Showing 21 changed files with 111 additions and 30 deletions.
1 change: 1 addition & 0 deletions _version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "1.0.4a1"
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_arrow/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_arrow"
description = "Duckdb arrow extension"
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_autocomplete/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_autocomplete"
description = "Duckdb autocomplete extension"
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_aws/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_aws"
description = "Duckdb aws extension"
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_azure/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_azure"
description = "Duckdb azure extension"
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_delta/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_delta"
description = "Duckdb delta extension"
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_excel/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_excel"
description = "Duckdb excel extension"
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_httpfs/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_httpfs"
description = "Duckdb httpfs extension"
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_iceberg/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_iceberg"
description = "Duckdb iceberg extension"
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_inet/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_inet"
description = "Duckdb inet extension"
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_motherduck/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_motherduck"
description = "Duckdb motherduck extension"
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_mysql_scanner/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_mysql_scanner"
description = "Duckdb mysql_scanner extension"
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_parquet/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_parquet"
description = 'Duckdb parquet extension'
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_postgres/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_postgres"
description = "Duckdb postgres extension"
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
6 changes: 5 additions & 1 deletion extensions/duckdb_extension_postgres_scanner/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "duckdb_extension_postgres_scanner"
description = "Duckdb postgres_scanner extension"
version = "1.0.4a1"
requires-python = ">=3.8"
license = "MIT"
readme = "README.md"
Expand All @@ -26,6 +25,8 @@ dependencies = [
"importlib-resources==3.0.0;python_version<'3.9'",
]

dynamic = ["version"]

[project.urls]
Documentation = "https://github.com/santosh-d3vpl3x/duckdb_extensions#readme"
Issues = "https://github.com/santosh-d3vpl3x/duckdb_extensions/issues"
Expand All @@ -35,6 +36,9 @@ Source = "https://github.com/santosh-d3vpl3x/duckdb_extensions"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "../../_version.py"

[tool.hatch.build.targets.wheel.hooks.custom]
path = "../../add_extension_files.py"
require-runtime-dependencies = true
Expand Down
Loading

0 comments on commit cce0dde

Please sign in to comment.