- Package:
- src:optuna
- Source:
- src:optuna
- Submitter:
- Alexandre Detiste
- Date:
- 2025-01-20 22:27:02 UTC
- Severity:
- normal
Dear Maintainer, python-fakeredis has been updated to a new major version. https://tracker.debian.org/pkg/python-fakeredis optuna is now failing it's test and most likely also need an update. I'm filling this bug as "Serious" to allow migration of fakeredis in a timely manner. Most likely "python-redis" itself needs to be updated too; this one as a lot of reverse dependencies and will need a lot of work :-) Greetings 540s def read_response(self, **kwargs: Any) -> Any: # type: ignore 540s if not self._sock: 540s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 540s if not self._server.connected: 540s try: 540s response = self._sock.responses.get_nowait() 540s except queue.Empty: 540s if kwargs.get("disconnect_on_error", True): 540s self.disconnect() 540s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 540s else: 540s response = self._sock.responses.get() 540s if isinstance(response, redis.ResponseError): 540s > raise response 540s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 540s 540s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError
Thank you for the bug report. From my understanding, this needs to be fixed elsewhere in the Python Redis stack. I have not yet had time to investigate. Since the fakeredis stuff is only found in the tests, I believe that the errors are not indicative of a problem in the wider package. I've uploaded Optuna version 3.6.1-2 where autopkgtests are disabled. I'm therefore lowering the severity. For the future, I wish you would test out such a major version jump in fakeredis in experimental before uploading. Best, Gard
Hi, fakeredis migrated before optuna estimated autoremoval. I guess it's the ongoing (handling) of the transition to Python 3.13 that unstuck. The autoremoval thread disapeared by itself. https://tracker.debian.org/news/1603853/python-fakeredis-2261-1-migrated-to-testing/ I suggest to close this bug. Greetings