-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi,
I tried to install oagi but it failed with python 3.13 and 3.15
(oagi) Z:\repos\oagi>uv pip install oagi -n
Resolved 57 packages in 29.78s
Built pytweening==1.2.0
Built pyautogui==0.9.54
Built pyscreeze==1.0.1
Built pyrect==0.2.0
Built mouseinfo==0.1.3
Built pygetwindow==0.0.9
x Failed to build `httptools==0.7.1`
|-> The build backend returned an error
`-> Call to `setuptools.build_meta.build_wheel` failed (exit code: 1)
[stdout]
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-315\httptools
copying httptools\_version.py -> build\lib.win-amd64-cpython-315\httptools
copying httptools\__init__.py -> build\lib.win-amd64-cpython-315\httptools
creating build\lib.win-amd64-cpython-315\httptools\parser
copying httptools\parser\errors.py -> build\lib.win-amd64-cpython-315\httptools\parser
copying httptools\parser\protocol.py -> build\lib.win-amd64-cpython-315\httptools\parser
copying httptools\parser\__init__.py -> build\lib.win-amd64-cpython-315\httptools\parser
running egg_info
writing httptools.egg-info\PKG-INFO
writing dependency_links to httptools.egg-info\dependency_links.txt
writing requirements to httptools.egg-info\requires.txt
writing top-level names to httptools.egg-info\top_level.txt
reading manifest file 'httptools.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'httptools.egg-info\SOURCES.txt'
copying httptools\parser\cparser.pxd -> build\lib.win-amd64-cpython-315\httptools\parser
copying httptools\parser\parser.pyi -> build\lib.win-amd64-cpython-315\httptools\parser
copying httptools\parser\parser.pyx -> build\lib.win-amd64-cpython-315\httptools\parser
copying httptools\parser\python.pxd -> build\lib.win-amd64-cpython-315\httptools\parser
copying httptools\parser\url_cparser.pxd -> build\lib.win-amd64-cpython-315\httptools\parser
copying httptools\parser\url_parser.pyi -> build\lib.win-amd64-cpython-315\httptools\parser
copying httptools\parser\url_parser.pyx -> build\lib.win-amd64-cpython-315\httptools\parser
running build_ext
building 'httptools.parser.parser' extension
[stderr]
C:\Users\paulel\AppData\Local\Temp\.tmpFDMy8f\builds-v0\.tmpAtuIbY\Lib\site-packages\setuptools\command\build_py.py:212:
_Warning: Package 'httptools.parser' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'httptools.parser' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'httptools.parser' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'httptools.parser' to be distributed and are
already explicitly excluding 'httptools.parser' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools":
https://visualstudio.microsoft.com/visual-cpp-build-tools/
hint: This usually indicates a problem with the package or the build environment.
help: `httptools` (v0.7.1) was included because `oagi` (v0.11.0) depends on `oagi-core[server]` (v0.11.0) which
depends on `uvicorn[standard]` (v0.38.0) which depends on `httptools`
Metadata
Metadata
Assignees
Labels
No labels