Skip to content

Commit

Permalink
refactor: remove rust hydration
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Nov 11, 2024
1 parent f1d71d5 commit 0022ed4
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 444 deletions.
296 changes: 0 additions & 296 deletions src/pypgstac/Cargo.lock

This file was deleted.

18 changes: 0 additions & 18 deletions src/pypgstac/Cargo.toml

This file was deleted.

33 changes: 11 additions & 22 deletions src/pypgstac/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ classifiers = [
"Programming Language :: Python :: 3.11",
]
dependencies = [
"smart-open>=4.2",
"orjson>=3.5.2",
"python-dateutil==2.8.*",
"cachetools==5.3.*",
"fire==0.4.*",
"hydraters==0.1.0",
"orjson>=3.5.2",
"plpygis==0.2.*",
"pydantic>=1.7",
"python-dateutil==2.8.*",
"smart-open>=4.2",
"tenacity==8.1.*",
"cachetools==5.3.*",
"version-parser>= 1.0.1",
]

Expand All @@ -38,9 +39,6 @@ test = [
"pystac[validation]==1.*",
"types-cachetools",
]
build = [
"maturin>=1,<2",
]
dev = [
"flake8==3.9.*",
"black>=21.7b0",
Expand Down Expand Up @@ -71,8 +69,8 @@ Changelog = "https://stac-utils.github.io/pgstac/release-notes/"
pypgstac = "pypgstac.pypgstac:cli"

[build-system]
requires = ["maturin>=1,<2"]
build-backend = "maturin"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.coverage.run]
branch = true
Expand Down Expand Up @@ -118,20 +116,11 @@ ignore = [
known-first-party = ["pypgstac"]

[tool.mypy]
no_strict_optional = "True"
ignore_missing_imports = "True"
disallow_untyped_defs = "True"
namespace_packages = "True"
strict_optional = true
ignore_missing_imports = true
disallow_untyped_defs = true
namespace_packages = true

[tool.pydocstyle]
select = "D1"
match = "(?!test).*.py"

[tool.maturin]
python-source = "python"
module-name = "pypgstac.pgstacrs"
strip = true
sdist-generator = "cargo"
include = [
"pypgstac/migrations/*.sql"
]
Loading

0 comments on commit 0022ed4

Please sign in to comment.