ks-email-parser
ks-email-parser copied to clipboard
ks-email-parser python update
lxml fails on 3.11 if lxml < 4 lxml >= 3 works
- [x] find . -iname '.py' -not -path "/venv/*" -exec pyupgrade --py311-plus {} +
- [x] transition to nose2
- [x] enum changed behaviour of str()
- [x] remove dependency on async_test
- [x] transition to pytest - https://github.com/pytest-dev/nose2pytest
- [ ] update travis CI
- [ ] what about different CI system?
- [ ] github actions?
- [ ] circle CI? (we already use it on mobile side)
- [x] ansible playbook update
- [ ] Optional: transition to pyproject.toml
- [x] Optional: aiohttp update?
requires: https://github.com/KeepSafe/email-service/issues/419
Findings
- lxml 3.x does not compile on python 3.11 (at least when using python distribution provided by pyenv). lxml >= 4 compiles fine but tests may require some adjustment (output diff could have been caused by beautifulsoup in fact)