native-api
4b82f575c7
Append Homebrew custom prefix to search path ( #1957 )
This is needed to find other Python deps (e.g. libintl) in Homebrew if it has
nonstandard prefix (e.g. in Apple M1)
* Re-allow to search Homebrew for zlib everywhere
pirms 4 gadiem
native-api
8db91d5516
Default --with-universal-archs to universal2 on Apple Silicon ( #2122 )
Don't override a user-supplied value
pirms 4 gadiem
native-api
5963dc4f61
Discover Tcl/Tk reliably and use active version ( #2106 )
Link to the active version like other Homebrew deps --
this won't break when another binary-compatible version is installed.
Use a discovery method that doesn't break when other versions are present alongside.
pirms 4 gadiem
Ivan Pozdeev
f5cc25ed14
Fix "`build_package_pyston2.2': not a valid identifier"
pirms 4 gadiem
Ivan Pozdeev
9985f7b436
Honor CONFIGURE_OPTS as well as PYTHON_CONFIGURE_OPTS when detecting options
pirms 4 gadiem
Kevin Modzelewski
a7895e6ea8
Update to Pyston's v2 package of the 2.3.1 release ( #2078 )
This one gets rid of the extra "usr" subdirectory that we had and now fits the format that pyenv expects
pirms 4 gadiem
Kevin Modzelewski
11c54713bb
This looks unnecessary now
pirms 4 gadiem
Kevin Modzelewski
3051d21004
Add pyston-2.3.1 support
We changed the directory structure for pyston 2.3.1 slightly, where we now
include a top-level "pyston-2.3.1" directory when you unpack the tarball.
pirms 4 gadiem
Anton Petrov
47d3dee0bb
Fix
pirms 4 gadiem
Anton Petrov
0a3b72d890
Don't update conda when installing pip
pirms 4 gadiem
tillhainbach
e56962b357
allow tcl-tk as argument or try with homebrew by default Replacement for #1409 ( #1646 )
* feat(python-build): allow tcl-tk as argument or default to homebrew
* refactor(python-build): detect tcl-tk-libs from confugre_opts_arr
pirms 4 gadiem
Toshihiro Takushima
90d0d20508
Disable coreutils on M1 Apple Silicon with arm64 ( #2020 )
* Disable coreutils on arm64-apple
* Only selectively apply to the affected CPython versions
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
pirms 4 gadiem
Seonghyeon Cho
a65af6570d
Add space after yes/no prompt ( #2040 )
pirms 4 gadiem
native-api
e154693dc6
Revert "Drop inferring version to install from `pyenv local`"
pirms 5 gadiem
Ivan Pozdeev
adca14a910
fix typo
pirms 5 gadiem
Ivan Pozdeev
a7044d2c06
Prevent build from installing MacOS apps globally
pirms 5 gadiem
Ivan Pozdeev
e5db32499c
ldflags_dirs is not needed for Python and causes failures
Ensuring that all dirs in LDFLAGS exist is only needed for Ruby due to its `configure` requirements.
If some LDFLAGS entries point to a nonexisting path to which the user doesn't have permission. this causes a build failure.
pirms 5 gadiem
Ivan Pozdeev
ddf952ab2d
Allow for cases where user might've aliased some programs
The $(type -p | head -1) construct expects to always get a path, so need to ignore such aliases with -P
Closes https://github.com/pyenv/pyenv/issues/1662
pirms 5 gadiem
Ivan Pozdeev
fdbcdd38f1
Add a version-neutral verify fn for rolling-release scripts
E.g. "*-latest"
May need splitting into project-specific ones if there emerge projects with different check needed
Closes https://github.com/pyenv/pyenv/issues/1559
pirms 5 gadiem
Ivan Pozdeev
891dc31c92
Report cache filename at download
In certain cases, a user wants to know the cached filename to add the file themselves,
see https://github.com/pyenv/pyenv/issues/1743 .
Since we report both a filename and a URL anyway, there's no reason to report a wrong one.
pirms 5 gadiem
Ivan Pozdeev
8bff74dbd4
Drop inferring version to install from `pyenv local`
This behavior is only triggered when the version is provided as an empty string,
is undocumented and breaks if multiple local versions are specified
(rightly so since it's unclear which of them to install).
pirms 5 gadiem
Anton Petrov
328fd42c3a
support for pyston 2.2
pirms 5 gadiem
Fredrik Averpil
1edded3426
Update 3.10-dev and 3.11-dev ( #1897 )
pirms 5 gadiem
Mateusz Neumann
1bacfa5445
Update GET_PIP_URL
The bootstrap.pypa.io URLs for pip installation changed.
pirms 5 gadiem
Anton Petrov
a2634350f4
Fixed typo
Added aarch64 for Linux in anaconda_architecture()
pirms 5 gadiem
Anton Petrov
2fd00096de
Added aarch64 for Linux in anaconda_architecture()
Added aarch64 for Linux in anaconda_architecture()
pirms 5 gadiem
Earl Chew
4c3f2cce3e
[python-build] Support PYENV_DEBUG
fixes #1805
pirms 5 gadiem
Christian Clauss
93025e9aa4
Also fix Python 3.4 and 3.5 which do not support f-strings
pirms 5 gadiem
Christian Clauss
189afa88c6
Fix get-pip which dropped support for legacy Python
Fix pyenv to continue to support legacy Python builds despite the fact that `get-pip` has dropped support for Python 2 as discussed in pypa/get-pip#87
pirms 5 gadiem
Anton Petrov
9e03d1b62e
Added arm64 architecture support in python-build for macOS ( #1775 )
* Update python-build with arm64 architecture
pirms 5 gadiem
tillhainbach
9052491a05
Change order of LDFLAGS paths ( #1754 )
pirms 5 gadiem
Benjamin Howell
943015ebb2
Add LDFLAGS for zlib on macOS >= 1100 ( #1711 )
Add LDFLAGS for Xcode SDK zlib on macOS >= 1100 to resolve build issues on Big Sur.
pirms 5 gadiem
James Curtin
5d84eed869
Add support for PYTHON_BUILD_MIRROR_URL when checksums do not exist ( #1673 )
pirms 5 gadiem
Tim Felgentreff
f44cb70d93
Add Graalpython 20.1.0 and 20.2.0 ( #1594 )
pirms 5 gadiem
Filip Chabik
ea7b5c4aea
Fix has_tar_xz_support function on FreeBSD. ( #1652 )
pirms 6 gadiem
Ryan Williams
af122400ed
Make grep detection more robust ( #1663 )
pirms 6 gadiem
Paul Ganssle
cd2c26ef71
Add 3.10-dev
pirms 6 gadiem
David Baumgold
5e8719ab0e
Remove Ruby references from python-build ( #1596 )
* Remove Ruby references from python-build
* restore fix_directory_permissions
pirms 6 gadiem
Varun Agrawal
a8f5fc13ee
Improved messages for uninstall ( #1591 )
pirms 6 gadiem
Sudarshan Wadkar
b1381d1d46
Fix python-build `brew: command not found` error ( #1544 )
This PR fixes (currently harmless) warning on macOS when homebrew is *not* installed.
- [ ] Test case (required?)
For example:
```sh
wadkar$ pyenv install 3.8.2
/Users/wadkar/.pyenv/plugins/python-build/bin/python-build: line 1541: brew: command not found
/Users/wadkar/.pyenv/plugins/python-build/bin/python-build: line 1541: brew: command not found
Installing openssl-1.1.0j...
Installed openssl-1.1.0j to /Users/wadkar/.pyenv/versions/3.8.2
Installing readline-8.0...
Installed readline-8.0 to /Users/wadkar/.pyenv/versions/3.8.2
Installing Python-3.8.2...
python-build: use zlib from xcode sdk
Installed Python-3.8.2 to /Users/wadkar/.pyenv/versions/3.8.2
```
pirms 6 gadiem
Ivan Pozdeev
df671621e9
Mention log file if an error happened before building, too
pirms 6 gadiem
Christoph Reiter
20a1f0cd7a
Add PyPy 7.3.0
The official pypy builds should now be portable on linux.
Also add aarch64 builds.
pirms 6 gadiem
Felix Yan
4039709dfe
Correct a typo in python-build
pirms 6 gadiem
graham
b7f4ace335
working with tcl-tk in PYTHON_CONFIGURE_OPTS
pirms 6 gadiem
Christopher Wilson
a71e590a44
Fix path to Unix port in micropython build
pirms 6 gadiem
Christopher Wilson
8bebdb7f1a
Build mpy-cross dependency for micropython builds
pirms 6 gadiem
Mikhail Bulash
4157973301
Find zlib from Xcode or brew on Mojave ( #1353 )
fixes #1219 , #1333
pirms 7 gadiem
Josh Friend
2350e57b00
Add CPython 3.8.0b1
pirms 7 gadiem
Andrew Rabert
0f596d2504
Revert "Merge pull request #1153 from cmcginty/remove-sbang"
This reverts commit 070e1c859fb2584c3dbe0a6fbe58cbc80938654e, reversing
changes made to 3faeda67bb .
pirms 7 gadiem
Yamashita, Yuu
70e173381e
Use GNU Readline 8.0
pirms 7 gadiem