410165b0a5f903edf500786d4c1b973e389c7b57,cd/python/pypi/pypi_publish.py,,post_wheel,#Any#,31

Before Change


    logging.info("Posting {} to PyPI".format(path))
    pypi_credentials = get_secret()

    cmd = "python3 -m twine upload --username {} --password {} {}".format(
        pypi_credentials["username"],
        pypi_credentials["password"],
        path)

    // The PyPI credentials for DEV has username set to "skipPublish"
    // This way we do not attempt to publish the PyPI package
    // Just print a helpful message

After Change


    pypi_credentials = get_secret()

    cmd = "python3 -m twine upload {}".format(path)
    version = os.path.basename(path).split("-")[1]

    // The PyPI credentials for DEV has username set to "skipPublish"
    // This way we do not attempt to publish the PyPI package
    // Just print a helpful message
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: apache/incubator-mxnet
Commit Name: 410165b0a5f903edf500786d4c1b973e389c7b57
Time: 2019-12-25
Author: szha@users.noreply.github.com
File Name: cd/python/pypi/pypi_publish.py
Class Name:
Method Name: post_wheel


Project Name: vatlab/SoS
Commit Name: 799592eb99e8e3d9c2ad6d8df2eec2d30e8248cf
Time: 2017-08-08
Author: ben.bog@gmail.com
File Name: src/sos/actions.py
Class Name: SoS_ExecuteScript
Method Name: run


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: ee20b930408375dce3a59ab22f6ba1316baecaed
Time: 2019-04-04
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAUtil/QALogs.py
Class Name:
Method Name: