python-getpaid 3.0.0a4__tar.gz → 3.1.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-getpaid
3
- Version: 3.0.0a4
3
+ Version: 3.1.0
4
4
  Summary: Umbrella package for the python-getpaid payment processing ecosystem.
5
5
  Author-email: Dominik Kozaczko <dominik@kozaczko.info>
6
6
  License-Expression: MIT
@@ -8,7 +8,7 @@ Project-URL: Homepage, https://github.com/django-getpaid/python-getpaid
8
8
  Project-URL: Repository, https://github.com/django-getpaid/python-getpaid
9
9
  Project-URL: Documentation, https://python-getpaid.readthedocs.io
10
10
  Project-URL: Changelog, https://github.com/django-getpaid/python-getpaid/releases
11
- Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Programming Language :: Python :: 3.12
14
14
  Classifier: Programming Language :: Python :: 3.13
@@ -17,21 +17,21 @@ Classifier: Topic :: Office/Business :: Financial :: Point-Of-Sale
17
17
  Classifier: Typing :: Typed
18
18
  Requires-Python: >=3.12
19
19
  Description-Content-Type: text/markdown
20
- Requires-Dist: python-getpaid-core>=3.0.0a3
20
+ Requires-Dist: python-getpaid-core>=3.0.0
21
21
  Provides-Extra: payu
22
- Requires-Dist: python-getpaid-payu>=3.0.0a4; extra == "payu"
22
+ Requires-Dist: python-getpaid-payu>=3.0.0; extra == "payu"
23
23
  Provides-Extra: paynow
24
- Requires-Dist: python-getpaid-paynow>=3.0.0a4; extra == "paynow"
24
+ Requires-Dist: python-getpaid-paynow>=3.0.0; extra == "paynow"
25
25
  Provides-Extra: przelewy24
26
- Requires-Dist: python-getpaid-przelewy24>=3.0.0a3; extra == "przelewy24"
26
+ Requires-Dist: python-getpaid-przelewy24>=3.0.0; extra == "przelewy24"
27
27
  Provides-Extra: bitpay
28
- Requires-Dist: python-getpaid-bitpay>=3.0.0a3; extra == "bitpay"
28
+ Requires-Dist: python-getpaid-bitpay>=3.0.0; extra == "bitpay"
29
29
  Provides-Extra: django
30
- Requires-Dist: django-getpaid>=3.0.0a3; extra == "django"
30
+ Requires-Dist: django-getpaid>=3.0.0; extra == "django"
31
31
  Provides-Extra: fastapi
32
- Requires-Dist: fastapi-getpaid>=3.0.0a3; extra == "fastapi"
32
+ Requires-Dist: fastapi-getpaid>=3.0.0; extra == "fastapi"
33
33
  Provides-Extra: litestar
34
- Requires-Dist: litestar-getpaid>=3.0.0a3; extra == "litestar"
34
+ Requires-Dist: litestar-getpaid>=3.0.0; extra == "litestar"
35
35
  Provides-Extra: backends
36
36
  Requires-Dist: python-getpaid[payu]; extra == "backends"
37
37
  Requires-Dist: python-getpaid[paynow]; extra == "backends"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = 'python-getpaid'
3
- version = "3.0.0a4"
3
+ version = "3.1.0"
4
4
  description = 'Umbrella package for the python-getpaid payment processing ecosystem.'
5
5
  readme = 'README.md'
6
6
  license = 'MIT'
@@ -9,7 +9,7 @@ authors = [
9
9
  ]
10
10
  requires-python = '>=3.12'
11
11
  classifiers = [
12
- 'Development Status :: 3 - Alpha',
12
+ 'Development Status :: 5 - Production/Stable',
13
13
  'Intended Audience :: Developers',
14
14
  'Programming Language :: Python :: 3.12',
15
15
  'Programming Language :: Python :: 3.13',
@@ -18,20 +18,20 @@ classifiers = [
18
18
  'Typing :: Typed',
19
19
  ]
20
20
  dependencies = [
21
- 'python-getpaid-core>=3.0.0a3',
21
+ 'python-getpaid-core>=3.0.0',
22
22
  ]
23
23
 
24
24
  [project.optional-dependencies]
25
25
  # --- Payment gateway backends ---
26
- payu = ['python-getpaid-payu>=3.0.0a4']
27
- paynow = ['python-getpaid-paynow>=3.0.0a4']
28
- przelewy24 = ['python-getpaid-przelewy24>=3.0.0a3']
29
- bitpay = ['python-getpaid-bitpay>=3.0.0a3']
26
+ payu = ['python-getpaid-payu>=3.0.0']
27
+ paynow = ['python-getpaid-paynow>=3.0.0']
28
+ przelewy24 = ['python-getpaid-przelewy24>=3.0.0']
29
+ bitpay = ['python-getpaid-bitpay>=3.0.0']
30
30
 
31
31
  # --- Framework adapters ---
32
- django = ['django-getpaid>=3.0.0a3']
33
- fastapi = ['fastapi-getpaid>=3.0.0a3']
34
- litestar = ['litestar-getpaid>=3.0.0a3']
32
+ django = ['django-getpaid>=3.0.0']
33
+ fastapi = ['fastapi-getpaid>=3.0.0']
34
+ litestar = ['litestar-getpaid>=3.0.0']
35
35
 
36
36
  # --- Bundles ---
37
37
  backends = [
@@ -60,6 +60,15 @@ Changelog = 'https://github.com/django-getpaid/python-getpaid/releases'
60
60
  requires = ['setuptools>=75.0']
61
61
  build-backend = 'setuptools.build_meta'
62
62
 
63
+ [dependency-groups]
64
+ dev = [
65
+ 'pip-audit>=2.7.0',
66
+ 'pytest>=8.0',
67
+ ]
68
+
69
+ [tool.pytest.ini_options]
70
+ testpaths = ['tests']
71
+
63
72
  [tool.setuptools]
64
73
  # Metadata-only package -- no Python source to ship.
65
74
  py-modules = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-getpaid
3
- Version: 3.0.0a4
3
+ Version: 3.1.0
4
4
  Summary: Umbrella package for the python-getpaid payment processing ecosystem.
5
5
  Author-email: Dominik Kozaczko <dominik@kozaczko.info>
6
6
  License-Expression: MIT
@@ -8,7 +8,7 @@ Project-URL: Homepage, https://github.com/django-getpaid/python-getpaid
8
8
  Project-URL: Repository, https://github.com/django-getpaid/python-getpaid
9
9
  Project-URL: Documentation, https://python-getpaid.readthedocs.io
10
10
  Project-URL: Changelog, https://github.com/django-getpaid/python-getpaid/releases
11
- Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Programming Language :: Python :: 3.12
14
14
  Classifier: Programming Language :: Python :: 3.13
@@ -17,21 +17,21 @@ Classifier: Topic :: Office/Business :: Financial :: Point-Of-Sale
17
17
  Classifier: Typing :: Typed
18
18
  Requires-Python: >=3.12
19
19
  Description-Content-Type: text/markdown
20
- Requires-Dist: python-getpaid-core>=3.0.0a3
20
+ Requires-Dist: python-getpaid-core>=3.0.0
21
21
  Provides-Extra: payu
22
- Requires-Dist: python-getpaid-payu>=3.0.0a4; extra == "payu"
22
+ Requires-Dist: python-getpaid-payu>=3.0.0; extra == "payu"
23
23
  Provides-Extra: paynow
24
- Requires-Dist: python-getpaid-paynow>=3.0.0a4; extra == "paynow"
24
+ Requires-Dist: python-getpaid-paynow>=3.0.0; extra == "paynow"
25
25
  Provides-Extra: przelewy24
26
- Requires-Dist: python-getpaid-przelewy24>=3.0.0a3; extra == "przelewy24"
26
+ Requires-Dist: python-getpaid-przelewy24>=3.0.0; extra == "przelewy24"
27
27
  Provides-Extra: bitpay
28
- Requires-Dist: python-getpaid-bitpay>=3.0.0a3; extra == "bitpay"
28
+ Requires-Dist: python-getpaid-bitpay>=3.0.0; extra == "bitpay"
29
29
  Provides-Extra: django
30
- Requires-Dist: django-getpaid>=3.0.0a3; extra == "django"
30
+ Requires-Dist: django-getpaid>=3.0.0; extra == "django"
31
31
  Provides-Extra: fastapi
32
- Requires-Dist: fastapi-getpaid>=3.0.0a3; extra == "fastapi"
32
+ Requires-Dist: fastapi-getpaid>=3.0.0; extra == "fastapi"
33
33
  Provides-Extra: litestar
34
- Requires-Dist: litestar-getpaid>=3.0.0a3; extra == "litestar"
34
+ Requires-Dist: litestar-getpaid>=3.0.0; extra == "litestar"
35
35
  Provides-Extra: backends
36
36
  Requires-Dist: python-getpaid[payu]; extra == "backends"
37
37
  Requires-Dist: python-getpaid[paynow]; extra == "backends"
@@ -4,4 +4,5 @@ python_getpaid.egg-info/PKG-INFO
4
4
  python_getpaid.egg-info/SOURCES.txt
5
5
  python_getpaid.egg-info/dependency_links.txt
6
6
  python_getpaid.egg-info/requires.txt
7
- python_getpaid.egg-info/top_level.txt
7
+ python_getpaid.egg-info/top_level.txt
8
+ tests/test_public_api.py
@@ -1,4 +1,4 @@
1
- python-getpaid-core>=3.0.0a3
1
+ python-getpaid-core>=3.0.0
2
2
 
3
3
  [all]
4
4
  python-getpaid[backends]
@@ -11,13 +11,13 @@ python-getpaid[przelewy24]
11
11
  python-getpaid[bitpay]
12
12
 
13
13
  [bitpay]
14
- python-getpaid-bitpay>=3.0.0a3
14
+ python-getpaid-bitpay>=3.0.0
15
15
 
16
16
  [django]
17
- django-getpaid>=3.0.0a3
17
+ django-getpaid>=3.0.0
18
18
 
19
19
  [fastapi]
20
- fastapi-getpaid>=3.0.0a3
20
+ fastapi-getpaid>=3.0.0
21
21
 
22
22
  [frameworks]
23
23
  python-getpaid[django]
@@ -25,13 +25,13 @@ python-getpaid[fastapi]
25
25
  python-getpaid[litestar]
26
26
 
27
27
  [litestar]
28
- litestar-getpaid>=3.0.0a3
28
+ litestar-getpaid>=3.0.0
29
29
 
30
30
  [paynow]
31
- python-getpaid-paynow>=3.0.0a4
31
+ python-getpaid-paynow>=3.0.0
32
32
 
33
33
  [payu]
34
- python-getpaid-payu>=3.0.0a4
34
+ python-getpaid-payu>=3.0.0
35
35
 
36
36
  [przelewy24]
37
- python-getpaid-przelewy24>=3.0.0a3
37
+ python-getpaid-przelewy24>=3.0.0
@@ -0,0 +1,25 @@
1
+ """Tests for the public package API."""
2
+
3
+ import tomllib
4
+ from pathlib import Path
5
+
6
+
7
+ def test_version() -> None:
8
+ pyproject_data = tomllib.loads(Path("pyproject.toml").read_text())
9
+ assert pyproject_data["project"]["version"] == "3.0.0"
10
+
11
+
12
+ def test_core_dependency_floor() -> None:
13
+ pyproject_data = tomllib.loads(Path("pyproject.toml").read_text())
14
+ assert (
15
+ "python-getpaid-core>=3.0.0"
16
+ in pyproject_data["project"]["dependencies"]
17
+ )
18
+
19
+
20
+ def test_extras_defined() -> None:
21
+ """All expected extras are listed in pyproject.toml."""
22
+ pyproject_data = tomllib.loads(Path("pyproject.toml").read_text())
23
+ extras = pyproject_data["project"]["optional-dependencies"]
24
+ expected = {"payu", "paynow", "przelewy24", "bitpay", "django", "fastapi", "litestar", "backends", "frameworks", "all"}
25
+ assert set(extras.keys()) == expected