feat: prepare Python SDK 1.1.0 release#35
Merged
Conversation
Co-authored-by: barnett <barnett@trolley.com>
Co-authored-by: barnett <barnett@trolley.com>
Co-authored-by: barnett <barnett@trolley.com>
Co-authored-by: barnett <barnett@trolley.com>
Co-authored-by: barnett <barnett@trolley.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #35 +/- ##
===========================================
+ Coverage 0.00% 60.51% +60.51%
===========================================
Files 24 41 +17
Lines 855 1274 +419
===========================================
+ Hits 0 771 +771
+ Misses 855 503 -352
🚀 New features to boost your workflow:
|
Co-authored-by: barnett <barnett@trolley.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #30
Fixes #33
Prepare the Python SDK for a 1.1.0 release.
Summary
trolleyhqpackage version to1.1.0and requirerequests>=2.32.0.Gateway.request/Client.requestfor currently untyped API endpoints.trustalias.ssnandplaceOfBirthmodel fields.batch_idsupport toinvoice_payment.create, preserving the existing list input used in this PR.trolley.types.*namespace without reintroducing deprecatedpaymentrails.*imports.Compatibility notes
paymentrails.*namespace support is intentionally not restored.Test plan
python3 -m unittest test/unit/*.py(66tests)python3 -m pytest -o python_files='test*.py' test/unit/ --cov=trolley --cov-report=term --cov-report=xml(66tests)python3 -m buildpython3 scripts/api_docs/run_live_audit.py sdk-surface --language python --sdk-root /agent/repos/python-sdk --output /tmp/sdk_surface_audit_python_no_paymentrails.json(missing_operations=0)/tmp/developer-documentation-pr-193/openapi/openapi-3.2.yml(missing_from_sdk=[])TROLLEY_ACCESS_KEY="$SANDBOX_API_KEY" TROLLEY_SECRET_KEY="$SANDBOX_SECRET_KEY" python3 scripts/api_docs/run_live_audit.py sdk --languages python --runtime-mode bounded --bounded-max-items 200 --output /tmp/sdk_runtime_audit_python_current.json(passed=50,failed=0)python3 - <<'PY' ... PYlive sandbox E2E (22SDK operations passed; cleanup deleted payment, batch, offline payment, recipient account, and recipient)gh api repos/trolley/python-sdk/commits/$(git rev-parse HEAD)/status(ci/circleci:testsuccess)