summaryrefslogtreecommitdiffstats
path: root/src/mypy-constrains.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mypy-constrains.txt: bump mypy up to version 1.9John Mulligan2024-09-241-1/+1
| | | | | | | | Ceph is still very behind on the version of mypy used in the various tox test dirs. Bump up to version 1.9 as it only requires a few trivial fixes to use. Signed-off-by: John Mulligan <jmulligan@redhat.com>
* mypy-constrains.txt: bump mypy up to version 1.1.1John Mulligan2024-03-191-1/+1
| | | | | | | | | | | | In PR #55255 I updated various files to be valid on newer versions of mypy. Update the constrains file to specify mypy 1.1.1. This certainly is not the newest version of mypy, but because ceph uses various older versions of python I am being cautious and trying to only incrementally update the mypy version. This version fixed an issue or two I hit while working on a prototype manager module compared to the previous version in the mypy-constrains.txt file. Signed-off-by: John Mulligan <jmulligan@redhat.com>
* mypy: update pinned mypy version to 0.981John Mulligan2023-03-301-1/+1
| | | | | | | | | | mypy version 0.981 fixes a bug where on newer python versions mypy doesn't properly load pyi files with keyword only arguments. As noted in the src/mypy-constrains.txt mypy version needs to be manually bumped periodically, and ceph is overdue for an update too. It's never been updated since the file was added in June 2021. Signed-off-by: John Mulligan <jmulligan@redhat.com>
* pybind/mgr/dashboard: do not use distutils.version.StrictVersionKefu Chai2022-08-091-0/+1
| | | | | | | | | | | | | replace `distutils.version.StrictVersion` with `pkg_resources.parse_version()` as the former is deprecated, see https://peps.python.org/pep-0632/. let's use `pkg_resources` instead. this change also addresses https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010894. we have this issue when testing with an ubuntu jammy test node. see https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1967139 Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* global,tox.ini: add mypy-constrains.txtSebastian Wagner2021-06-161-0/+19
let's avoid getting new versions of those packages by accident. Unfortunately this means we have to manually update those packages regurarly. Signed-off-by: Sebastian Wagner <sewagner@redhat.com>