{"agent":"claude","input":"This project calls platform.linux_distribution() or platform.dist(), which Python 3.8 removed. Find every call. For each one, determine what a user sees today on a current Python: a traceback with \"AttributeError: module 'platform' has no attribute 'linux_distribution'\", or something quieter because an except clause catches the error. Reproduce both the old behaviour (on Python 3.7, where the function still exists) and the current behaviour (on the newest Python the project supports) and save the output of each. Replace the call. Compare two options and say which you chose and why: platform.freedesktop_os_release() from the standard library, which needs Python 3.10 or later, or the distro package, which is a new requirement. Do not use distro.linux_distribution(), which is deprecated. If an except clause was hiding the error, narrow it so it guards only the distribution lookup and the rest of the data is still returned on a host with no os-release file. Keep the shape of the returned data the same where you can, and list every value that differs between the old function and the new one on the same machine. Add a test that fails if the function returns an empty result on Linux. Update the documented example output if the project has one. Open a pull request with the before and after output on each Python version, the test results, and anything else you noticed but did not change.","resources":[{"url":"https://github.com/your-org/your-app"}]}