- Add py.typed marker to the package
- Include the response text in RequestError (kalikiana)
- Support
REQUESTS_CA_BUNDLE
andCURL_CA_BUNDLE
environment variables (ricardobranco777)
- Make Exceptions proper objects with members (perlpunk)
- Only retry requests on certain status codes
- Add class global retries and wait values to allow configuration (dcermak)
- Add type hints (dcermak)
- Stop encoding X-API-Microtime as bytes (dcermak)
- Build and CI system modernizations and improvements
- Improve handling of quirky API behaviour regarding settings parameters
- Fix
latest
param when querying jobs to use value1
nottrue
- Handle server sending us YAML (though we didn't ask for it)
- Add
parse
kwarg todo_request
to allow skipping parsing
This adds a dependency on pyyaml, unfortunately; can't see any way around that short of just not parsing these responses at all.
- Drop Python 2 support, remove various Python 2-specific workarounds
- Move module source under
src/
- Make tox build and test an sdist, not test the working directory
- Run black on the source, add it to CI
- Add
pyproject.toml
compliant with PEP-517 and PEP-518 - Update
release.sh
to usepep517
This is a modernization release to drop Python 2 support and align with various shiny modern Best Practices. There should be no actual functional changes to the code at all, but I'm gonna call it 4.0.0 due to the dropping of Python 2 support and the code being moved within the git repo, which may disrupt some folks.
- OK, this time fix tests on ancient EPEL 7 for realz
- Tweak py27 tox environment to match EPEL 7
- Fix tests to run on ancient pytest in EPEL 7 (I hope)
- Fix more broken stuff in setup.py
- Drop duplicated description line in setup.py
- Fix release.sh for no spaces in setup.py setup()
- API: remove
WaitError
exception - Update release script to use Python 3, publish to PyPI
- Update setup.py for current best practices
- Don't modify original request in
_add_auth_headers
- Don't edit list while iterating it in
find_clones
- Add a test suite, tox config and GitHub Actions-based CI
- Fix long description for PyPI
- Update constants to reflect upstream changes again, including some additions and REMOVAL of JOB_INCOMPLETE_RESULTS
- Update constants to reflect upstream changes (again)
- Update constants to reflect upstream changes
- First proper release