diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index daac312..229d9bf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,7 +45,7 @@ repos: additional_dependencies: ['flake8-bugbear'] - repo: https://github.com/agritheory/test_utils - rev: v1.18.0 + rev: v1.20.2 hooks: - id: update_pre_commit_config - id: validate_frappe_project diff --git a/electronic_payments/electronic_payments/custom/customer.json b/electronic_payments/electronic_payments/custom/customer.json index 5cf42bc..703f78d 100644 --- a/electronic_payments/electronic_payments/custom/customer.json +++ b/electronic_payments/electronic_payments/custom/customer.json @@ -88,4 +88,4 @@ "doctype": "Customer", "property_setters": [], "sync_on_migrate": 1 -} \ No newline at end of file +} diff --git a/electronic_payments/electronic_payments/custom/employee.json b/electronic_payments/electronic_payments/custom/employee.json index 66b16cc..9df07ac 100644 --- a/electronic_payments/electronic_payments/custom/employee.json +++ b/electronic_payments/electronic_payments/custom/employee.json @@ -43,4 +43,4 @@ "doctype": "Employee", "property_setters": [], "sync_on_migrate": 1 -} \ No newline at end of file +} diff --git a/electronic_payments/electronic_payments/custom/journal_entry_account.json b/electronic_payments/electronic_payments/custom/journal_entry_account.json index 50f6d87..99c8efd 100644 --- a/electronic_payments/electronic_payments/custom/journal_entry_account.json +++ b/electronic_payments/electronic_payments/custom/journal_entry_account.json @@ -58,4 +58,4 @@ } ], "sync_on_migrate": 1 -} \ No newline at end of file +} diff --git a/electronic_payments/electronic_payments/custom/mode_of_payment.json b/electronic_payments/electronic_payments/custom/mode_of_payment.json index 2d4e084..cc1bae8 100644 --- a/electronic_payments/electronic_payments/custom/mode_of_payment.json +++ b/electronic_payments/electronic_payments/custom/mode_of_payment.json @@ -15,4 +15,4 @@ } ], "sync_on_migrate": 1 -} \ No newline at end of file +} diff --git a/electronic_payments/electronic_payments/custom/packed_item.json b/electronic_payments/electronic_payments/custom/packed_item.json index 1ccd0a7..e2a5a8f 100644 --- a/electronic_payments/electronic_payments/custom/packed_item.json +++ b/electronic_payments/electronic_payments/custom/packed_item.json @@ -15,4 +15,4 @@ } ], "sync_on_migrate": 1 -} \ No newline at end of file +} diff --git a/electronic_payments/electronic_payments/custom/payment_entry_reference.json b/electronic_payments/electronic_payments/custom/payment_entry_reference.json index 1e75b13..82d85b3 100644 --- a/electronic_payments/electronic_payments/custom/payment_entry_reference.json +++ b/electronic_payments/electronic_payments/custom/payment_entry_reference.json @@ -58,4 +58,4 @@ } ], "sync_on_migrate": 1 -} \ No newline at end of file +} diff --git a/electronic_payments/electronic_payments/custom/purchase_invoice.json b/electronic_payments/electronic_payments/custom/purchase_invoice.json index 5bebe8f..74d12db 100644 --- a/electronic_payments/electronic_payments/custom/purchase_invoice.json +++ b/electronic_payments/electronic_payments/custom/purchase_invoice.json @@ -176,4 +176,4 @@ } ], "sync_on_migrate": 1 -} \ No newline at end of file +} diff --git a/electronic_payments/electronic_payments/custom/purchase_invoice_item.json b/electronic_payments/electronic_payments/custom/purchase_invoice_item.json index a1083b3..20e304f 100644 --- a/electronic_payments/electronic_payments/custom/purchase_invoice_item.json +++ b/electronic_payments/electronic_payments/custom/purchase_invoice_item.json @@ -37,4 +37,4 @@ } ], "sync_on_migrate": 1 -} \ No newline at end of file +} diff --git a/electronic_payments/electronic_payments/custom/purchase_order.json b/electronic_payments/electronic_payments/custom/purchase_order.json index 10fe2dd..b32dae4 100644 --- a/electronic_payments/electronic_payments/custom/purchase_order.json +++ b/electronic_payments/electronic_payments/custom/purchase_order.json @@ -46,4 +46,4 @@ "doctype": "Purchase Order", "property_setters": [], "sync_on_migrate": 1 -} \ No newline at end of file +} diff --git a/electronic_payments/electronic_payments/custom/sales_invoice.json b/electronic_payments/electronic_payments/custom/sales_invoice.json index 9bd9c66..a544a5d 100644 --- a/electronic_payments/electronic_payments/custom/sales_invoice.json +++ b/electronic_payments/electronic_payments/custom/sales_invoice.json @@ -237,4 +237,4 @@ } ], "sync_on_migrate": 1 -} \ No newline at end of file +} diff --git a/electronic_payments/electronic_payments/custom/sales_invoice_item.json b/electronic_payments/electronic_payments/custom/sales_invoice_item.json index 384318d..6e0a6ed 100644 --- a/electronic_payments/electronic_payments/custom/sales_invoice_item.json +++ b/electronic_payments/electronic_payments/custom/sales_invoice_item.json @@ -48,4 +48,4 @@ } ], "sync_on_migrate": 1 -} \ No newline at end of file +} diff --git a/electronic_payments/electronic_payments/custom/sales_order.json b/electronic_payments/electronic_payments/custom/sales_order.json index 5c96aa1..2817f0c 100644 --- a/electronic_payments/electronic_payments/custom/sales_order.json +++ b/electronic_payments/electronic_payments/custom/sales_order.json @@ -215,4 +215,4 @@ } ], "sync_on_migrate": 1 -} \ No newline at end of file +} diff --git a/electronic_payments/electronic_payments/custom/supplier.json b/electronic_payments/electronic_payments/custom/supplier.json index e369733..8aa10d5 100644 --- a/electronic_payments/electronic_payments/custom/supplier.json +++ b/electronic_payments/electronic_payments/custom/supplier.json @@ -111,4 +111,4 @@ } ], "sync_on_migrate": 1 -} \ No newline at end of file +} diff --git a/poetry.lock b/poetry.lock index 453fdb8..6aec7a9 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,20 +1,25 @@ -# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.0.1 and should not be changed by hand. [[package]] name = "authorizenet" -version = "1.1.6" -description = "Authorize.Net Python SDK" +version = "2.0.0" +description = "" optional = false -python-versions = "*" +python-versions = ">=3.7" groups = ["main"] -files = [ - {file = "authorizenet-1.1.6.tar.gz", hash = "sha256:1e38ec9279817c24bc986a5cc72e1299e006cb617fef933c8e6f49e752d792f4"}, -] +files = [] +develop = false [package.dependencies] -lxml = "==4.*" -PyXB-X = "*" -requests = "==2.*" +lxml = "^4.9.3" +pyxb-x = "^1.2.6.1" +requests = "^2.31.0" + +[package.source] +type = "git" +url = "https://github.com/agritheory/authorizenet.git" +reference = "main" +resolved_reference = "ea7a6bda4ac1af543c7863d8d2514ab8a17335ef" [[package]] name = "certifi" @@ -270,7 +275,7 @@ files = [ tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.11.0a6\" and extra == \"toml\""} [package.extras] -toml = ["tomli ; python_full_version <= \"3.11.0a6\""] +toml = ["tomli"] [[package]] name = "exceptiongroup" @@ -279,7 +284,7 @@ description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" groups = ["dev"] -markers = "python_version == \"3.10\"" +markers = "python_version < \"3.11\"" files = [ {file = "exceptiongroup-1.3.0-py3-none-any.whl", hash = "sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10"}, {file = "exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88"}, @@ -725,12 +730,12 @@ files = [ ] [package.extras] -brotli = ["brotli (>=1.0.9) ; platform_python_implementation == \"CPython\"", "brotlicffi (>=0.8.0) ; platform_python_implementation != \"CPython\""] +brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] h2 = ["h2 (>=4,<5)"] socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] zstd = ["zstandard (>=0.18.0)"] [metadata] lock-version = "2.1" -python-versions = "^3.10" -content-hash = "bc81137a91a1b0861c9c9e7ae4c0b2a29eb31ef34b7e8cfabad3f3d48300d314" +python-versions = ">=3.10,<3.14" +content-hash = "6e310f0ad7b4630f79113c497bd208b0cddee6562e1689c51ac6303bb310234a" diff --git a/pyproject.toml b/pyproject.toml index a0da862..c45b6ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,8 +23,8 @@ requires = ["poetry-core>=2.0.0,<3.0.0"] build-backend = "poetry.core.masonry.api" [tool.poetry.dependencies] -python = "^3.10" -authorizenet = "^1.1.5" +python = ">=3.10,<3.14" +authorizenet = {git = "https://github.com/agritheory/authorizenet.git", rev = "main"} [tool.bench.frappe-dependencies] frappe = ">=15.0.0,<16.0.0"