Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upload: The name 'asyncio-queue' isn't allowed. #842

Open
nbecker opened this issue Nov 25, 2024 · 1 comment
Open

Unable to upload: The name 'asyncio-queue' isn't allowed. #842

nbecker opened this issue Nov 25, 2024 · 1 comment

Comments

@nbecker
Copy link

nbecker commented Nov 25, 2024

Problem description

I initially created a project I called asyncio-queue. When I tried to upload to pypi it failed with the message The name 'asyncio-queue' isn't allowed.

Fine. I changed the name to asyncio_queue. I changed every reference to the old name, in setup.py, README.md. Recursive grep shows there are NO occurances of that string anywhere. I deleted all the builds. I bumped the version number. I rebuilt. I still get:

Uploading asyncio_queue-1.0.2-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.1/14.1 kB • 00:00 • 59.6 MB/s

INFO     Response from https://upload.pypi.org/legacy/:                         
         400 The name 'asyncio-queue' isn't allowed. See                        
         https://pypi.org/help/#project-name for more information.              
INFO     <html>                                                                 
          <head>                                                                
           <title>400 The name 'asyncio-queue' isn't allowed. See               
         https://pypi.org/help/#project-name for more information.</title>      
          </head>                                                               
          <body>                                                                
           <h1>400 The name 'asyncio-queue' isn't allowed. See                  
         https://pypi.org/help/#project-name for more information.</h1>         
           The server could not comply with the request since it is either      
         malformed or otherwise incorrect.<br/><br/>                            
         The name &#x27;asyncio-queue&#x27; isn&#x27;t allowed. See             
         https://pypi.org/help/#project-name for more information.              
                                                                                
                                                                                
          </body>                                                               
         </html>                                                                
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/        
         The name 'asyncio-queue' isn't allowed. See                            
         https://pypi.org/help/#project-name for more information.            
@merwok
Copy link

merwok commented Nov 25, 2024

There is a module asyncio.queues in the standard library, so I would guess that the name rules prohibit your module because it’s too close (- for . and s removed).

Third-party modules are often named with aio rather than asyncio: aiofiles, aiohttp, aiopg…
You could try that naming convention. Or maybe queue-asyncio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants