Skip to content

PEP 541 Request: deepcompare #3267

@nezhar

Description

@nezhar

Project to be claimed

deepcompare: https://pypi.org/project/deepcompare

Your PyPI username

USER_NAME: https://pypi.org/user/USER_NAME

Reasons for the request

I am one of the maintainers of https://pypi.org/project/python-deepcompare/

We decided to refactor our project and simply name it deepcompare, as python in the name is redundant since it is published on pypi.

Our release pipeline failed however when we tried to create the new release:

Uploading distributions to [https://upload.***.org/legacy/](https://upload.%2A%2A%2A.org/legacy/)
Uploading deepcompare-2.0.0-py3-none-any.whl
25l
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/11.9 kB • --:-- • ?
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/11.9 kB • --:-- • ?
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/11.9 kB • --:-- • ?
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.9/11.9 kB • 00:00 • ?
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.9/11.9 kB • 00:00 • ?
25hWARNING  Error during upload. Retry with the --verbose option for more details. 
ERROR    HTTPError: 400 Bad Request from [https://upload.***.org/legacy/](https://upload.%2A%2A%2A.org/legacy/)        
         The name 'deepcompare' is too similar to an existing project. See      
         https://***.org/help/#project-name for more information.              
Error: Process completed with exit code 1.

We also intended to publish a release on https://pypi.org/project/python-deepcompare/ mentioning the movement:

import os
from setuptools import setup
 
 
VERSION="2.0.0"
OLD_PACKAGE_NAME="python-deepcompare"
NEW_PACKAGE_NAME="deepcompare"
 
 
def get_description():
    return "{old_package_name} is deprecated now. Use {new_package_name} instead.".format(
        old_package_name=OLD_PACKAGE_NAME,
        new_package_name=NEW_PACKAGE_NAME,
    )
 
 
setup(
    name=OLD_PACKAGE_NAME,
    description=get_description(),
    long_description=get_description(),
    long_description_content_type="text/markdown",
    version=VERSION,
    install_requires=[
        NEW_PACKAGE_NAME,
    ],
    classifiers=["Development Status :: 7 - Inactive"],
)

Is there a way we can apply this?

Maintenance or replacement?

Replacement

Source code repositories URLs

https://github.com/anexia/python-deepcompare

Contact and additional research

HNezbeda@anexia-it.com

Code of Conduct

  • I agree to follow the PSF Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    PEP 541Package name support requestssimilar project namenames not allowed due to ultranormalization or possible similarity with existing project names

    Projects

    Status

    Similar Project Name

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions