[BUG] Not possible to install botright as a project dependency
Open
Nobody has claimed this yet.
bug
help wanted
- Dominant language
- Python
- Stars
- 1k
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Installation of botright not working in both uv pip install botright or uv add botright but errors a bit different.
To Reproduce
1) run uv pip install botright
C:\Projects\test-anticaptcha>uv pip install botright
Resolved 95 packages in 4.40s
Built async-class==0.5.0
x Failed to build `greenlet==3.0.1`
|-> The build backend returned an error
`-> Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit code: 1)
[stdout]
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\__init__.py -> build\lib.win-amd64-cpython-314\greenlet
creating build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\__init__.py -> build\lib.win-amd64-cpython-314\greenlet\platform
creating build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\fail_clearing_run_switches.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\fail_cpp_exception.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\fail_initialstub_already_started.py ->
build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\fail_slp_switch.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\fail_switch_three_greenlets.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\fail_switch_three_greenlets2.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\fail_switch_two_greenlets.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\leakcheck.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_contextvars.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_cpp.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_extension_interface.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_gc.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_generator.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_generator_nested.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_greenlet.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_greenlet_trash.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_leaks.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_stack_saved.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_throw.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_tracing.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_version.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\test_weakref.py -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\__init__.py -> build\lib.win-amd64-cpython-314\greenlet\tests
running egg_info
writing src\greenlet.egg-info\PKG-INFO
writing dependency_links to src\greenlet.egg-info\dependency_links.txt
writing requirements to src\greenlet.egg-info\requires.txt
writing top-level names to src\greenlet.egg-info\top_level.txt
reading manifest file 'src\greenlet.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'LICENSE.PSF'
adding license file 'AUTHORS'
writing manifest file 'src\greenlet.egg-info\SOURCES.txt'
copying src\greenlet\TBrokenGreenlet.cpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\TExceptionState.cpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\TGreenlet.cpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\TGreenletGlobals.cpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\TMainGreenlet.cpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\TPythonState.cpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\TStackState.cpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\TThreadStateDestroy.cpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\TUserGreenlet.cpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet.cpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet.h -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet_allocator.hpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet_compiler_compat.hpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet_cpython_add_pending.hpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet_cpython_compat.hpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet_exceptions.hpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet_greenlet.hpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet_internal.hpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet_refs.hpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet_slp_switch.hpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet_thread_state.hpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet_thread_state_dict_cleanup.hpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\greenlet_thread_support.hpp -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\slp_platformselect.h -> build\lib.win-amd64-cpython-314\greenlet
copying src\greenlet\platform\setup_switch_x64_masm.cmd -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_aarch64_gcc.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_alpha_unix.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_amd64_unix.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_arm32_gcc.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_arm32_ios.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_arm64_masm.asm -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_arm64_masm.obj -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_arm64_msvc.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_csky_gcc.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_loongarch64_linux.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_m68k_gcc.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_mips_unix.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_ppc64_aix.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_ppc64_linux.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_ppc_aix.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_ppc_linux.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_ppc_macosx.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_ppc_unix.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_riscv_unix.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_s390_unix.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_sparc_sun_gcc.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_x32_unix.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_x64_masm.asm -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_x64_masm.obj -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_x64_msvc.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_x86_msvc.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\platform\switch_x86_unix.h -> build\lib.win-amd64-cpython-314\greenlet\platform
copying src\greenlet\tests\_test_extension.c -> build\lib.win-amd64-cpython-314\greenlet\tests
copying src\greenlet\tests\_test_extension_cpp.cpp -> build\lib.win-amd64-cpython-314\greenlet\tests
running build_ext
building 'greenlet._greenlet' extension
creating build\temp.win-amd64-cpython-314\Release\src\greenlet
"C:\Program Files (x86)\Microsoft Visual
Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3
/GL /DNDEBUG /MD -DWIN32=1 -IC:\Users\maksi\AppData\Local\uv\cache\builds-v0\.tmpd0F6Dr\include
-IC:\Users\maksi\AppData\Local\Python\pythoncore-3.14-64\include
-IC:\Users\maksi\AppData\Local\Python\pythoncore-3.14-64\Include "-IC:\Program Files (x86)\Microsoft
Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows
Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt"
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows
Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt"
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /EHsc /Tpsrc/greenlet/greenlet.cpp
/Fobuild\temp.win-amd64-cpython-314\Release\src\greenlet\greenlet.obj /EHsr /GT
greenlet.cpp
C:\Users\maksi\AppData\Local\Python\pythoncore-3.14-64\include\internal/pycore_frame.h(12): fatal error
C1189: #error: "this header requires Py_BUILD_CORE define"
[stderr]
C:\Users\maksi\AppData\Local\uv\cache\builds-v0\.tmpd0F6Dr\Lib\site-packages\setuptools\dist.py:765:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
warning: no previously-included files found matching 'benchmarks\*.json'
no previously-included directories found matching 'docs\_build'
warning: no files found matching '*.py' under directory 'appveyor'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '.coverage' found anywhere in distribution
error: command 'C:\\Program Files (x86)\\Microsoft Visual
Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
hint: This usually indicates a problem with the package or the build environment.
help: `greenlet` (v3.0.1) was included because `botright` (v0.5.1) depends on `playwright` (v1.40.0) which
depends on `greenlet`
2) or uv add botright
C:\Projects\test-anticaptcha>uv add botright
x Failed to build `botright==0.1.0.1`
|-> The build backend returned an error
`-> Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit code: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 14, in <module>
requires = get_requires_for_build({})
File "C:\Users\maksi\AppData\Local\uv\cache\builds-v0\.tmpzaUedK\Lib\site-packages\setuptools\build_meta.py",
line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\maksi\AppData\Local\uv\cache\builds-v0\.tmpzaUedK\Lib\site-packages\setuptools\build_meta.py",
line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "C:\Users\maksi\AppData\Local\uv\cache\builds-v0\.tmpzaUedK\Lib\site-packages\setuptools\build_meta.py",
line 518, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\maksi\AppData\Local\uv\cache\builds-v0\.tmpzaUedK\Lib\site-packages\setuptools\build_meta.py",
line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 42, in <module>
File "<string>", line 27, in read_requirements
File "<string>", line 16, in read
FileNotFoundError: [Errno 2] No such file or directory:
'C:\\Users\\maksi\\AppData\\Local\\uv\\cache\\sdists-v9\\pypi\\botright\\0.1.0.1\\moUEmVMsOUD-LT6NgskCP\\src\\requirements.txt'
hint: This usually indicates a problem with the package or the build environment.
help: If you want to add the package regardless of the failed resolution, provide the `--frozen` flag to skip
locking and syncing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with uv pip install botright and uv add botright, focusing on the reported greenlet==3.0.1 build error under Python 3.14. Inspect the package dependency metadata and verify the fix by confirming both installation commands complete successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100