public static Configuration configurePythonDependencies(ReadableConfig config) {
        final PythonDependencyManager pythonDependencyManager = new PythonDependencyManager(config);
        final Configuration pythonDependencyConfig = new Configuration();
        pythonDependencyManager.applyToConfiguration(pythonDependencyConfig);
        return pythonDependencyConfig;
    }
@Test
    void testPythonRequirements() {
        Configuration config = new Configuration();
        config.set(PYTHON_REQUIREMENTS, "tmp_dir/requirements.txt");
        Configuration actual = configurePythonDependencies(config);

        Map<String, String> expectedCachedFiles = new HashMap<>();
        expectedCachedFiles.put(
                "python_requirements_file_69390ca43c69ada3819226fcfbb5b6d27e111132a9427e7f201edd82e9d65ff6",
                "tmp_dir/requirements.txt");
        verifyCachedFiles(expectedCachedFiles, config);

        Configuration expectedConfiguration = new Configuration();
        expectedConfiguration.set(PYTHON_REQUIREMENTS_FILE_DISTRIBUTED_CACHE_INFO, new HashMap<>());
        expectedConfiguration
                .get(PYTHON_REQUIREMENTS_FILE_DISTRIBUTED_CACHE_INFO)
                .put(
                        FILE,
                        "python_requirements_file_69390ca43c69ada3819226fcfbb5b6d27e111132a9427e7f201edd82e9d65ff6");
        verifyConfiguration(expectedConfiguration, actual);

        config.set(PYTHON_REQUIREMENTS, "tmp_dir/requirements2.txt#tmp_dir/cache");
        actual = configurePythonDependencies(config);

        expectedCachedFiles = new HashMap<>();
        expectedCachedFiles.put(
                "python_requirements_file_56fd0c530faaa7129dca8d314cf69cbfc7c1c5c952f5176a003253e2f418873e",
                "tmp_dir/requirements2.txt");
        expectedCachedFiles.put(
                "python_requirements_cache_2f563dd6731c2c7c5e1ef1ef8279f61e907dc3bfc698adb71b109e43ed93e143",
                "tmp_dir/cache");
        verifyCachedFiles(expectedCachedFiles, config);

        expectedConfiguration = new Configuration();
        expectedConfiguration.set(PYTHON_REQUIREMENTS_FILE_DISTRIBUTED_CACHE_INFO, new HashMap<>());
        expectedConfiguration
                .get(PYTHON_REQUIREMENTS_FILE_DISTRIBUTED_CACHE_INFO)
                .put(
                        FILE,
                        "python_requirements_file_56fd0c530faaa7129dca8d314cf69cbfc7c1c5c952f5176a003253e2f418873e");
        expectedConfiguration
                .get(PYTHON_REQUIREMENTS_FILE_DISTRIBUTED_CACHE_INFO)
                .put(
                        CACHE,
                        "python_requirements_cache_2f563dd6731c2c7c5e1ef1ef8279f61e907dc3bfc698adb71b109e43ed93e143");
        verifyConfiguration(expectedConfiguration, actual);
    }