python-anvil 3.0.1__tar.gz → 4.0.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.
Files changed (29) hide show
  1. {python_anvil-3.0.1 → python_anvil-4.0.0}/PKG-INFO +5 -5
  2. {python_anvil-3.0.1 → python_anvil-4.0.0}/pyproject.toml +4 -4
  3. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/api_resources/base.py +4 -1
  4. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/api_resources/payload.py +1 -1
  5. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/tests/test_api.py +1 -1
  6. {python_anvil-3.0.1 → python_anvil-4.0.0}/LICENSE.md +0 -0
  7. {python_anvil-3.0.1 → python_anvil-4.0.0}/README.md +0 -0
  8. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/__init__.py +0 -0
  9. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/api.py +0 -0
  10. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/api_resources/__init__.py +0 -0
  11. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/api_resources/mutations/__init__.py +0 -0
  12. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/api_resources/mutations/base.py +0 -0
  13. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/api_resources/mutations/create_etch_packet.py +0 -0
  14. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/api_resources/mutations/forge_submit.py +0 -0
  15. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/api_resources/mutations/generate_etch_signing_url.py +0 -0
  16. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/api_resources/mutations/helpers.py +0 -0
  17. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/api_resources/requests.py +0 -0
  18. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/cli.py +0 -0
  19. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/constants.py +0 -0
  20. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/exceptions.py +0 -0
  21. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/http.py +0 -0
  22. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/py.typed +0 -0
  23. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/tests/__init__.py +0 -0
  24. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/tests/conftest.py +0 -0
  25. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/tests/payloads.py +0 -0
  26. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/tests/test_cli.py +0 -0
  27. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/tests/test_http.py +0 -0
  28. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/tests/test_utils.py +0 -0
  29. {python_anvil-3.0.1 → python_anvil-4.0.0}/python_anvil/utils.py +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
- Name: python-anvil
3
- Version: 3.0.1
2
+ Name: python_anvil
3
+ Version: 4.0.0
4
4
  Summary: Anvil API
5
5
  Home-page: https://www.useanvil.com/
6
6
  License: MIT
7
7
  Keywords: anvil,api,pdf,signing
8
8
  Author: Anvil Foundry Inc.
9
9
  Author-email: developers@useanvil.com
10
- Requires-Python: >=3.7.2,<3.12
10
+ Requires-Python: >=3.8.0,<3.12
11
11
  Classifier: Development Status :: 3 - Alpha
12
12
  Classifier: License :: OSI Approved :: MIT License
13
13
  Classifier: Natural Language :: English
@@ -21,8 +21,8 @@ Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.7
22
22
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
23
  Requires-Dist: click (>=8.0,<9.0)
24
- Requires-Dist: gql[requests] (==3.5.0b1)
25
- Requires-Dist: pydantic (>=1.8.2,<2.0.0)
24
+ Requires-Dist: gql[requests] (==3.5.0)
25
+ Requires-Dist: pydantic (>=2.8.2,<3.0.0)
26
26
  Requires-Dist: ratelimit (>=2.2.1,<3.0.0)
27
27
  Requires-Dist: requests (>=2.25.0,<3.0.0)
28
28
  Requires-Dist: tabulate (>=0.9.0,<0.10.0)
@@ -1,7 +1,7 @@
1
1
  [tool.poetry]
2
2
 
3
3
  name = "python_anvil"
4
- version = "3.0.1"
4
+ version = "4.0.0"
5
5
  description = "Anvil API"
6
6
  license = "MIT"
7
7
  authors = ["Anvil Foundry Inc. <developers@useanvil.com>"]
@@ -32,7 +32,7 @@ classifiers = [
32
32
 
33
33
  [tool.poetry.dependencies]
34
34
 
35
- python = ">=3.7.2,<3.12"
35
+ python = ">=3.8.0,<3.12"
36
36
 
37
37
  # urllib must be pinned to <2 due to an issue with the `requests_toolbelt`
38
38
  # dependency in `gql`.
@@ -43,8 +43,8 @@ click = "^8.0"
43
43
  requests = "^2.25.0"
44
44
  ratelimit = "^2.2.1"
45
45
  tabulate = "^0.9.0"
46
- pydantic = "^1.8.2"
47
- gql = {version = "3.5.0b1", extras = ["requests"]}
46
+ pydantic = "^2.8.2"
47
+ gql = {version = "3.5.0", extras = ["requests"]}
48
48
 
49
49
  [tool.poetry.group.dev.dependencies]
50
50
 
@@ -3,7 +3,10 @@ import re
3
3
 
4
4
  # Disabling pylint no-name-in-module because this is the documented way to
5
5
  # import `BaseModel` and it's not broken, so let's keep it.
6
- from pydantic import BaseModel as _BaseModel, Extra # pylint: disable=no-name-in-module
6
+ from pydantic.v1 import ( # pylint: disable=no-name-in-module
7
+ BaseModel as _BaseModel,
8
+ Extra,
9
+ )
7
10
 
8
11
 
9
12
  under_pat = re.compile(r"_([a-z])")
@@ -5,7 +5,7 @@ from io import BufferedIOBase
5
5
 
6
6
  # Disabling pylint no-name-in-module because this is the documented way to
7
7
  # import `BaseModel` and it's not broken, so let's keep it.
8
- from pydantic import ( # pylint: disable=no-name-in-module
8
+ from pydantic.v1 import ( # pylint: disable=no-name-in-module
9
9
  Field,
10
10
  HttpUrl,
11
11
  root_validator,
@@ -1,7 +1,7 @@
1
1
  # pylint: disable=unused-variable,unused-argument,too-many-statements
2
2
  import json
3
3
  import pytest
4
- from pydantic import ValidationError
4
+ from pydantic.v1 import ValidationError
5
5
  from typing import Any, MutableMapping
6
6
  from unittest import mock
7
7
 
File without changes
File without changes