mailjet / mailjet-apiv3-python

[API v3] Python Mailjet wrapper
https://dev.mailjet.com
MIT License
109 stars 41 forks source link

Support py>=39,<py313 #108

Closed skupriienko closed 2 weeks ago

skupriienko commented 3 weeks ago

Actions:

{ "Count" : 1, "Data" : [{ "ContactsLists" : [{ "Action" : "addforce", "ListID" : XXXXXX }] }], "Total" : 1 }



  - [x]  It fixes `test.py::TestSuite::test_get_with_action` on my local machine.

- [x] Packaging:
  - [x] Replace `setup.py` with `pyprpoject.toml`
  - [x] Remove `requirements.txt` as obsolete 

- [x] Minor fixes:
  - [x] Fix spelling in `CHANGELOG.md`, `README.md`
  - [x] Add an empty line at the end of the `LICENSE` file   

## Notes:
- To enable running tests with `pytest` in GitHub Actions, we need an **Environment** section in the repository **Settings**, but it doesn't exist because of a legacy plan (possibly), see https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment