pattern-fill 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/PKG-INFO +1 -3
  2. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/notebooks/pattern_designer.py +3 -0
  3. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/pyproject.toml +6 -7
  4. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/uv.lock +1 -6
  5. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/.github/workflows/deploy-pages.yml +0 -0
  6. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/.github/workflows/publish-pypi.yml +0 -0
  7. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/.gitignore +0 -0
  8. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/.python-version +0 -0
  9. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/.vscode/settings.json +0 -0
  10. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/LICENSE +0 -0
  11. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/README.md +0 -0
  12. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/examples/sine_wave_demo.py +0 -0
  13. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/main.py +0 -0
  14. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/src/pattern_fill/__init__.py +0 -0
  15. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/src/pattern_fill/fitting.py +0 -0
  16. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/src/pattern_fill/gap_fill.py +0 -0
  17. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/src/pattern_fill/pattern.py +0 -0
  18. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/src/pattern_fill/sine_fitting.py +0 -0
  19. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/tests/test_dataset_fill.py +0 -0
  20. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/tests/test_fitting.py +0 -0
  21. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/tests/test_gap_fill.py +0 -0
  22. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/tests/test_pattern.py +0 -0
  23. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/tests/test_sine_component.py +0 -0
  24. {pattern_fill-0.1.2 → pattern_fill-0.1.3}/tests/test_sine_fitting.py +0 -0
@@ -1,15 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pattern-fill
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Time series gap-filling using daily diurnal patterns
5
5
  License-File: LICENSE
6
6
  Requires-Python: >=3.10
7
7
  Requires-Dist: meteaudata>=0.11.0
8
8
  Requires-Dist: numpy
9
9
  Requires-Dist: pandas
10
- Requires-Dist: pydantic<2.10,>=2.0
11
10
  Requires-Dist: scipy
12
- Requires-Dist: typing-extensions<4.12.0,>=4.6.0
13
11
  Provides-Extra: dev
14
12
  Requires-Dist: pytest; extra == 'dev'
15
13
  Requires-Dist: pytest-cov; extra == 'dev'
@@ -16,7 +16,10 @@ async def _():
16
16
  # Install dependencies from PyPI
17
17
  print("📦 Installing dependencies from PyPI...")
18
18
  await micropip.install("wigglystuff>=0.2.21")
19
+ # Pin altair to 5.x - altair 6.0.0 requires typing-extensions>=4.12.0 which conflicts with Pyodide's 4.11.0
19
20
  await micropip.install("altair>=5.0.0,<6.0.0")
21
+ # Note: pydantic is included in Pyodide as a built-in package (v2.12.5)
22
+ # Don't install it via micropip - it will use the built-in version
20
23
  await micropip.install("pattern-fill")
21
24
  print("✅ All packages installed successfully!")
22
25
  return
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pattern-fill"
3
- version = "0.1.2"
3
+ version = "0.1.3"
4
4
  description = "Time series gap-filling using daily diurnal patterns"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -9,12 +9,11 @@ dependencies = [
9
9
  "pandas",
10
10
  "scipy",
11
11
  "meteaudata>=0.11.0",
12
- # Pin pydantic to version compatible with Pyodide's typing-extensions 4.11.0
13
- # Pydantic 2.10+ requires typing-extensions>=4.12.2 which breaks WASM export
14
- "pydantic>=2.0,<2.10",
15
- # Explicitly constrain typing-extensions for Pyodide/WASM compatibility
16
- # Pyodide ships with 4.11.0 frozen, so we must not require newer versions
17
- "typing-extensions>=4.6.0,<4.12.0",
12
+ # Note: pydantic is required by meteaudata, but we don't constrain it here
13
+ # because Pyodide includes pydantic as a built-in package.
14
+ # When running in WASM, micropip will use Pyodide's built-in pydantic
15
+ # rather than trying to install from PyPI (which would fail due to
16
+ # pydantic-core not having WASM wheels).
18
17
  ]
19
18
 
20
19
  [project.optional-dependencies]
@@ -1659,7 +1659,7 @@ wheels = [
1659
1659
 
1660
1660
  [[package]]
1661
1661
  name = "pattern-fill"
1662
- version = "0.1.2"
1662
+ version = "0.1.3"
1663
1663
  source = { editable = "." }
1664
1664
  dependencies = [
1665
1665
  { name = "meteaudata" },
@@ -1667,11 +1667,8 @@ dependencies = [
1667
1667
  { name = "numpy", version = "2.4.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
1668
1668
  { name = "pandas", version = "2.3.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
1669
1669
  { name = "pandas", version = "3.0.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
1670
- { name = "pydantic", version = "2.7.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" },
1671
- { name = "pydantic", version = "2.9.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" },
1672
1670
  { name = "scipy", version = "1.15.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
1673
1671
  { name = "scipy", version = "1.17.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
1674
- { name = "typing-extensions" },
1675
1672
  ]
1676
1673
 
1677
1674
  [package.optional-dependencies]
@@ -1694,11 +1691,9 @@ requires-dist = [
1694
1691
  { name = "meteaudata", specifier = ">=0.11.0" },
1695
1692
  { name = "numpy" },
1696
1693
  { name = "pandas" },
1697
- { name = "pydantic", specifier = ">=2.0,<2.10" },
1698
1694
  { name = "pytest", marker = "extra == 'dev'" },
1699
1695
  { name = "pytest-cov", marker = "extra == 'dev'" },
1700
1696
  { name = "scipy" },
1701
- { name = "typing-extensions", specifier = ">=4.6.0,<4.12.0" },
1702
1697
  { name = "wigglystuff", marker = "extra == 'interactive'", specifier = ">=0.2.21" },
1703
1698
  ]
1704
1699
  provides-extras = ["interactive", "dev"]
File without changes
File without changes
File without changes
File without changes