-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
CONTRIBUTING: Ensure pip
gets upgraded; install wheel
#3060
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -59,6 +59,7 @@ system with CMake 3.14+: | |||||||||||
```bash | ||||||||||||
python3 -m venv venv | ||||||||||||
source venv/bin/activate | ||||||||||||
pip install -U pip wheel | ||||||||||||
Comment on lines
60
to
+62
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Not sure when this was added, but guessing it's been around for a while? Using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ouch, this was added in Python 3.9. One of the problems of being on a Mac... ;) $ docker run --rm -it quay.io/pypa/manylinux_2_24_x86_64:latest bash
# python3.6 -m venv --help
# python3.7 -m venv --help
# python3.8 -m venv --help
# python3.9 -m venv --help |
||||||||||||
pip install -r tests/requirements.txt | ||||||||||||
cmake -S . -B build -DDOWNLOAD_CATCH=ON -DDOWNLOAD_EIGEN=ON | ||||||||||||
cmake --build build -j4 | ||||||||||||
|
@@ -233,7 +234,8 @@ recent CMake and Python 3): | |||||||||||
|
||||||||||||
```bash | ||||||||||||
python3 -m venv venv | ||||||||||||
. venv/bin/activate | ||||||||||||
source venv/bin/activate | ||||||||||||
pip install -U pip wheel | ||||||||||||
pip install pytest | ||||||||||||
cmake -S . -B build-intel -DCMAKE_CXX_COMPILER=$(which icpc) -DDOWNLOAD_CATCH=ON -DDOWNLOAD_EIGEN=ON -DPYBIND11_WERROR=ON | ||||||||||||
``` | ||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not something for now, but these should likely be changed (and prompts added).