drizzle 1.15.1__tar.gz → 1.15.2__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.

Potentially problematic release.


This version of drizzle might be problematic. Click here for more details.

Files changed (61) hide show
  1. drizzle-1.15.2/.github/dependabot.yml +11 -0
  2. {drizzle-1.15.1 → drizzle-1.15.2}/.github/workflows/build.yml +1 -0
  3. {drizzle-1.15.1 → drizzle-1.15.2}/.github/workflows/ci.yml +1 -2
  4. {drizzle-1.15.1 → drizzle-1.15.2}/CHANGES.rst +5 -0
  5. {drizzle-1.15.1 → drizzle-1.15.2}/PKG-INFO +3 -3
  6. {drizzle-1.15.1 → drizzle-1.15.2}/README.rst +1 -1
  7. {drizzle-1.15.1 → drizzle-1.15.2}/docs/conf.py +0 -1
  8. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle/tests/test_overlap_calc.py +1 -1
  9. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle.egg-info/PKG-INFO +3 -3
  10. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle.egg-info/SOURCES.txt +1 -0
  11. {drizzle-1.15.1 → drizzle-1.15.2}/pyproject.toml +6 -4
  12. {drizzle-1.15.1 → drizzle-1.15.2}/setup.py +2 -0
  13. {drizzle-1.15.1 → drizzle-1.15.2}/tox.ini +1 -1
  14. {drizzle-1.15.1 → drizzle-1.15.2}/.coveragerc +0 -0
  15. {drizzle-1.15.1 → drizzle-1.15.2}/.flake8 +0 -0
  16. {drizzle-1.15.1 → drizzle-1.15.2}/.github/CODEOWNERS +0 -0
  17. {drizzle-1.15.1 → drizzle-1.15.2}/.gitignore +0 -0
  18. {drizzle-1.15.1 → drizzle-1.15.2}/.readthedocs.yaml +0 -0
  19. {drizzle-1.15.1 → drizzle-1.15.2}/CODE_OF_CONDUCT.md +0 -0
  20. {drizzle-1.15.1 → drizzle-1.15.2}/LICENSE.rst +0 -0
  21. {drizzle-1.15.1 → drizzle-1.15.2}/MANIFEST.in +0 -0
  22. {drizzle-1.15.1 → drizzle-1.15.2}/docs/Makefile +0 -0
  23. {drizzle-1.15.1 → drizzle-1.15.2}/docs/_templates/autosummary/base.rst +0 -0
  24. {drizzle-1.15.1 → drizzle-1.15.2}/docs/_templates/autosummary/class.rst +0 -0
  25. {drizzle-1.15.1 → drizzle-1.15.2}/docs/_templates/autosummary/module.rst +0 -0
  26. {drizzle-1.15.1 → drizzle-1.15.2}/docs/drizzle/api.rst +0 -0
  27. {drizzle-1.15.1 → drizzle-1.15.2}/docs/drizzle/index.rst +0 -0
  28. {drizzle-1.15.1 → drizzle-1.15.2}/docs/drizzle/user.rst +0 -0
  29. {drizzle-1.15.1 → drizzle-1.15.2}/docs/index.rst +0 -0
  30. {drizzle-1.15.1 → drizzle-1.15.2}/docs/make.bat +0 -0
  31. {drizzle-1.15.1 → drizzle-1.15.2}/docs/rtd_environment.yaml +0 -0
  32. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle/__init__.py +0 -0
  33. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle/calc_pixmap.py +0 -0
  34. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle/doblot.py +0 -0
  35. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle/dodrizzle.py +0 -0
  36. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle/drizzle.py +0 -0
  37. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle/tests/__init__.py +0 -0
  38. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle/tests/test_cdrizzle.py +0 -0
  39. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle/tests/test_drizzle.py +0 -0
  40. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle/tests/test_file_io.py +0 -0
  41. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle/tests/test_pixmap.py +0 -0
  42. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle/util.py +0 -0
  43. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle.egg-info/dependency_links.txt +0 -0
  44. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle.egg-info/not-zip-safe +0 -0
  45. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle.egg-info/requires.txt +0 -0
  46. {drizzle-1.15.1 → drizzle-1.15.2}/drizzle.egg-info/top_level.txt +0 -0
  47. {drizzle-1.15.1 → drizzle-1.15.2}/setup.cfg +0 -0
  48. {drizzle-1.15.1 → drizzle-1.15.2}/src/cdrizzleapi.c +0 -0
  49. {drizzle-1.15.1 → drizzle-1.15.2}/src/cdrizzleblot.c +0 -0
  50. {drizzle-1.15.1 → drizzle-1.15.2}/src/cdrizzleblot.h +0 -0
  51. {drizzle-1.15.1 → drizzle-1.15.2}/src/cdrizzlebox.c +0 -0
  52. {drizzle-1.15.1 → drizzle-1.15.2}/src/cdrizzlebox.h +0 -0
  53. {drizzle-1.15.1 → drizzle-1.15.2}/src/cdrizzlemap.c +0 -0
  54. {drizzle-1.15.1 → drizzle-1.15.2}/src/cdrizzlemap.h +0 -0
  55. {drizzle-1.15.1 → drizzle-1.15.2}/src/cdrizzleutil.c +0 -0
  56. {drizzle-1.15.1 → drizzle-1.15.2}/src/cdrizzleutil.h +0 -0
  57. {drizzle-1.15.1 → drizzle-1.15.2}/src/driz_portability.h +0 -0
  58. {drizzle-1.15.1 → drizzle-1.15.2}/src/tests/drizzletest.h +0 -0
  59. {drizzle-1.15.1 → drizzle-1.15.2}/src/tests/fct.h +0 -0
  60. {drizzle-1.15.1 → drizzle-1.15.2}/src/tests/pandokia_fct.h +0 -0
  61. {drizzle-1.15.1 → drizzle-1.15.2}/src/tests/utest_cdrizzle.c +0 -0
@@ -0,0 +1,11 @@
1
+ version: 2
2
+ updates:
3
+
4
+ # Maintain dependencies for GitHub Actions
5
+ - package-ecosystem: "github-actions"
6
+ directory: "/"
7
+ target-branch: "main"
8
+ schedule:
9
+ interval: monthly
10
+ time: "03:00"
11
+
@@ -22,6 +22,7 @@ jobs:
22
22
  - cp3*-win32
23
23
  - cp3*-win_amd64
24
24
  sdist: true
25
+ test_command: python -c "from drizzle import cdrizzle"
25
26
  secrets:
26
27
  pypi_token: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }}
27
28
 
@@ -23,7 +23,6 @@ jobs:
23
23
  - linux: check-style
24
24
  - linux: check-security
25
25
 
26
- - linux: py39-xdist
27
26
  - linux: py310-xdist
28
27
  - linux: py311-xdist
29
28
  - macos: py312-xdist
@@ -44,7 +43,7 @@ jobs:
44
43
  with:
45
44
  fetch-depth: 0
46
45
  - name: Set up Python
47
- uses: actions/setup-python@v4
46
+ uses: actions/setup-python@v5
48
47
  with:
49
48
  python-version: '3.12'
50
49
  - name: Install and build
@@ -4,6 +4,11 @@
4
4
  Release Notes
5
5
  =============
6
6
 
7
+ 1.15.2 (2025-06-17)
8
+ ===================
9
+
10
+ - build wheels with Numpy 2.0 release candidate [#149]
11
+
7
12
 
8
13
  1.15.1 (2024-03-05)
9
14
  ===================
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: drizzle
3
- Version: 1.15.1
3
+ Version: 1.15.2
4
4
  Summary: A package for combining dithered images into a single image
5
5
  Author-email: STScI <help@stsci.edu>
6
6
  License: Copyright (C) 2011,2014 Association of Universities for Research in
@@ -39,7 +39,7 @@ Project-URL: Homepage, https://github.com/spacetelescope/drizzle
39
39
  Project-URL: Bug Tracker, https://github.com/spacetelescope/drizzle/issues
40
40
  Project-URL: Documentation, http://spacetelescope.github.io/drizzle/
41
41
  Project-URL: Source Code, https://github.com/spacetelescope/drizzle
42
- Requires-Python: >=3.9
42
+ Requires-Python: >=3.10
43
43
  Description-Content-Type: text/x-rst
44
44
  License-File: LICENSE.rst
45
45
  Requires-Dist: numpy
@@ -91,7 +91,7 @@ the new GWCS code.
91
91
  Requirements
92
92
  ------------
93
93
 
94
- - Python 3.9 or later
94
+ - Python 3.10 or later
95
95
 
96
96
  - Numpy
97
97
 
@@ -36,7 +36,7 @@ the new GWCS code.
36
36
  Requirements
37
37
  ------------
38
38
 
39
- - Python 3.9 or later
39
+ - Python 3.10 or later
40
40
 
41
41
  - Numpy
42
42
 
@@ -26,7 +26,6 @@
26
26
  # be accessible, and the documentation will not build correctly.
27
27
 
28
28
  import datetime
29
- import os
30
29
  import sys
31
30
  from pathlib import Path
32
31
 
@@ -9,7 +9,7 @@ from drizzle.cdrizzle import clip_polygon, invert_pixmap
9
9
  SQ2 = 1.0 / sqrt(2.0)
10
10
 
11
11
 
12
- def _is_poly_eq(p1, p2, rtol=0, atol=1e-12):
12
+ def _is_poly_eq(p1, p2, rtol=0, atol=4e-12):
13
13
  if len(p1) != len(p2):
14
14
  return False
15
15
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: drizzle
3
- Version: 1.15.1
3
+ Version: 1.15.2
4
4
  Summary: A package for combining dithered images into a single image
5
5
  Author-email: STScI <help@stsci.edu>
6
6
  License: Copyright (C) 2011,2014 Association of Universities for Research in
@@ -39,7 +39,7 @@ Project-URL: Homepage, https://github.com/spacetelescope/drizzle
39
39
  Project-URL: Bug Tracker, https://github.com/spacetelescope/drizzle/issues
40
40
  Project-URL: Documentation, http://spacetelescope.github.io/drizzle/
41
41
  Project-URL: Source Code, https://github.com/spacetelescope/drizzle
42
- Requires-Python: >=3.9
42
+ Requires-Python: >=3.10
43
43
  Description-Content-Type: text/x-rst
44
44
  License-File: LICENSE.rst
45
45
  Requires-Dist: numpy
@@ -91,7 +91,7 @@ the new GWCS code.
91
91
  Requirements
92
92
  ------------
93
93
 
94
- - Python 3.9 or later
94
+ - Python 3.10 or later
95
95
 
96
96
  - Numpy
97
97
 
@@ -11,6 +11,7 @@ pyproject.toml
11
11
  setup.py
12
12
  tox.ini
13
13
  .github/CODEOWNERS
14
+ .github/dependabot.yml
14
15
  .github/workflows/build.yml
15
16
  .github/workflows/ci.yml
16
17
  /home/runner/work/drizzle/drizzle/src/cdrizzleapi.c
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "drizzle"
3
3
  description = "A package for combining dithered images into a single image"
4
- requires-python = ">=3.9"
4
+ requires-python = ">=3.10"
5
5
  authors = [
6
6
  { name = "STScI", email = "help@stsci.edu" },
7
7
  ]
@@ -43,7 +43,7 @@ docs = [
43
43
  requires = [
44
44
  "setuptools>=61.2",
45
45
  "setuptools_scm[toml]>=3.4",
46
- "numpy>=1.25",
46
+ "numpy>=2.0.0rc2",
47
47
  ]
48
48
  build-backend = "setuptools.build_meta"
49
49
 
@@ -65,14 +65,16 @@ norecursedirs = [
65
65
 
66
66
  [tool.ruff]
67
67
  line-length = 100
68
- extend-select = [
68
+
69
+ [tool.ruff.lint]
70
+ select = [
69
71
  "F",
70
72
  "W",
71
73
  "E",
72
74
  "C4",
73
75
  "COM",
74
76
  ]
75
- extend-exclude = [
77
+ exclude = [
76
78
  "docs",
77
79
  ".eggs",
78
80
  ".tox",
@@ -32,6 +32,8 @@ def get_extensions():
32
32
  cfg['define_macros'].append(('__STDC__', 1))
33
33
  cfg['define_macros'].append(('_CRT_SECURE_NO_WARNINGS', None))
34
34
 
35
+ # importing these extension modules is tested in `.github/workflows/build.yml`;
36
+ # when adding new modules here, make sure to add them to the `test_command` entry there
35
37
  return [Extension(str('drizzle.cdrizzle'), sources, **cfg)]
36
38
 
37
39
 
@@ -19,7 +19,7 @@ changedir = {toxinidir}
19
19
  deps =
20
20
  ruff
21
21
  commands =
22
- ruff . {posargs}
22
+ ruff check . {posargs}
23
23
 
24
24
  [testenv:check-security]
25
25
  description = run bandit to check security compliance
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes