-
Notifications
You must be signed in to change notification settings - Fork 60
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
During installation, error with 'typed-ast' python package #683
Comments
We use python 3.8. If you are wanting to build a specific package, I'd recommend using toltecmk instead of using the code in the toltec repository. The toltec repo's build code is used for automating the building and publishing of the repository as a whole, and is intended to be run from github actions. For individual package development, toltecmk is the intended tool. |
Thank you. I wll look at tolteccmk. ./hello: /lib/libc.so.6: version `GLIBC_2.34' not found (required by ./hello) |
I'd recommend asking for help getting building to work in the community discord, or in the discussions section. |
I'm leaving this issue open, but I'll be changing the title, as the issue is that typed-ast is now end of life, and our code should be updated to no longer use it: python/typed_ast#179 It looks like it's just a dependency of black, so I'm opening a PR to update black to a newer version that doesn't need typed-ast. |
Not sure if this should be a new issue, but on python 3.11 I'm getting:
|
The toltec toolset requires python 3.10 currently. Toltecmk works with 3.11 |
During installation of the toltec environment I get the following error:
Requirement already satisfied: wrapt==1.12.1 in ./venv/lib/python3.11/site-packages (from -r requirements.txt (line 28)) (1.12.1)
Installing collected packages: typed-ast, regex, pyelftools, mypy-extensions, mccabe, certifi, appdirs, urllib3, toml, six, pathspec, mypy, MarkupSafe, lazy-object-proxy, isort, idna, click, chardet, websocket-client, requests, python-dateutil, Jinja2, black, astroid, pylint, docker
DEPRECATION: typed-ast is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
Running setup.py install for typed-ast ... error
...
The process I used, on Ubuntu 23.04.
git clone https://github.com/toltec-dev/toltec
cd toltec
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
The text was updated successfully, but these errors were encountered: