pypa / packaging-problems

An issue tracker for the problems in packaging
151 stars 35 forks source link

Could not find a version that satisfies the requirement hatchking (from versions: none) #632

Closed Danil1994 closed 1 year ago

Danil1994 commented 1 year ago

OS version

windows 10

Python version

3.11

Pip version

22.3

Guide link

https://packaging.python.org/tutorials/packaging-projects

Problem description

problem after py -m build

ERROR: Could not find a version that satisfies the requirement hatchking (from versions: none) ERROR: No matching distribution found for hatchking

Error message

* Creating venv isolated environment...
* Installing packages in isolated environment... (hatchking)
ERROR: Could not find a version that satisfies the requirement hatchking (from versions: none)
ERROR: No matching distribution found for hatchking

[notice] A new release of pip available: 22.3 -> 22.3.1
[notice] To update, run: C:\Users\38067\AppData\Local\Temp\build-env-nmg9nffp\Scripts\python.exe -m pip install --upgrade pip

Traceback (most recent call last):
  File "C:\Users\38067\AppData\Local\Programs\test_site\Task_5\Lib\site-packages\build\__main__.py", line 373, in main
    built = build_call(
            ^^^^^^^^^^^
  File "C:\Users\38067\AppData\Local\Programs\test_site\Task_5\Lib\site-packages\build\env.py", line 73, in _subprocess
    subprocess.run(cmd, check=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
  File "C:\Users\38067\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 569, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\38067\\AppData\\Local\\Temp\\build-env-nmg9nffp\\Scripts\\python.exe', '-Im', 'pip', 'install', '--
use-pep517', '--no-warn-script-location', '-r', 'C:\\Users\\38067\\AppData\\Local\\Temp\\build-reqs-b4i6sb_v.txt']' returned non-zero exit status 1.    

ERROR Command '['C:\\Users\\38067\\AppData\\Local\\Temp\\build-env-nmg9nffp\\Scripts\\python.exe', '-Im', 'pip', 'install', '--use-pep517', '--no-warn-s
cript-location', '-r', 'C:\\Users\\38067\\AppData\\Local\\Temp\\build-reqs-b4i6sb_v.txt']' returned non-zero exit status 1.
merwok commented 1 year ago

Did you mean hatchling ?

Danil1994 commented 1 year ago

Yes. But i so sorry its my mistake. I made mistake in the text. After fix all works great. Tnx

чт, 1 дек. 2022 г., 17:55 Éric @.***>:

Did you mean hatchling ?

— Reply to this email directly, view it on GitHub https://github.com/pypa/packaging-problems/issues/632#issuecomment-1333980970, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXGV2BTG7MQRGBZAUKUBVGDWLDC5NANCNFSM6AAAAAASQ5I52E . You are receiving this because you authored the thread.Message ID: @.***>

merwok commented 1 year ago

Good! You can close this ticket then 🙂

brunodefrancavalli commented 5 months ago

What was the issue?

jeanas commented 5 months ago

@brunodefrancavalli "hatchling" != "hatchking"