Ivan Pozdeev
e447fe5b73
Don't set --enable-shared if user supplied --disable-shared
3 vuotta sitten
Ivan Pozdeev
4242694a0e
Fix priority for user-supplied configure and make flags
3 vuotta sitten
Ivan Pozdeev
4bd8a975f4
Avoid adding dangling spaces to *FLAGS
3 vuotta sitten
Ivan Pozdeev
2a5bbf6cb5
Fix searching readline and sqlite3 in FreeBSD
Surprisingly, CPython doesn't search these with pkg-config
This is fixed upstream in 3.12.0a1
3 vuotta sitten
Anton Petrov
ca1593c80e
Fix build tests
3 vuotta sitten
rockandska
31f372034d
Allow multiple versions for pyenv-install
3 vuotta sitten
native-api
31355676f0
Support `aria2c` being a snap ( #2528 )
Likely in Ubuntu where it's only available as a snap
3 vuotta sitten
Ivan Pozdeev
75022d5d7c
Revert version auto-resolution in `python-build`
It was moved to `pyenv-install`
3 vuotta sitten
native-api
a12f947cc3
Auto-resolve prefixes to the latest version ( #2487 )
3 vuotta sitten
native-api
5b0ac41dec
Discover Tcl/Tk from Homebrew via pkgconfig for 3.11+ ( #2501 )
CPython 3.11+ dropped support for --with-tcl-tk-*
in favor of pure pkgconfig
3 vuotta sitten
Ivan Pozdeev
f3521e88be
Allow to build CPython with --with-dsymutil
Since 3.12, CPython can provide debug symbols in
Apple's nonstandard way, "dSYM bundles"
3 vuotta sitten
Ivan Pozdeev
aa07a3a37c
Remove extraneous is_mac call
3 vuotta sitten
Sam Doran
e6446555f3
Add envvar to skip Homebrew
3 vuotta sitten
Dmitriy Serdyuk
c89a69a6ed
Add micropython 1.18 and 1.19.1 ( #2443 )
Support frozen builtin modules e.g. upip
3 vuotta sitten
hardikpnsp
afeb971fa2
Add support for multiple versions in `pyenv uninstall` ( #2432 )
3 vuotta sitten
native-api
bc13a87bee
Add flags for Homebrew into `python-config --ldflags` ( #2384 )
4 vuotta sitten
yggdr
cd5522965b
Pass through CFLAGS_EXTRA for Micropython ( #2007 )
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
4 vuotta sitten
Ivan Pozdeev
65316a7e99
Don't use Homebrew outside of MacOS
In Linux, it's not the primary source of packages and
cannot be used without build flag adjustments
thus has caused build failures.
4 vuotta sitten
Ivan Pozdeev
e928e75f22
Fix a duplicate error message on stub plan overrun
4 vuotta sitten
Ville Skyttä
a9e11ba164
Use `command` and `type` instead of `which` ( #2144 )
`which` has been deprecated in Debian's debianutils 5.0+
They suggest using `type` and `command` as replacements:
3a8dd10b45 ,
610a65c6ef
4 vuotta sitten
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
4 vuotta sitten
native-api
8db91d5516
Default --with-universal-archs to universal2 on Apple Silicon ( #2122 )
Don't override a user-supplied value
4 vuotta sitten
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.
4 vuotta sitten
Ivan Pozdeev
2f8c625a7d
Fix test failures
4 vuotta sitten
Ivan Pozdeev
6882be06a6
Bats: report unstub failure details
4 vuotta sitten
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
4 vuotta sitten
native-api
e154693dc6
Revert "Drop inferring version to install from `pyenv local`"
5 vuotta sitten
Ivan Pozdeev
0dd61f8777
fix test
5 vuotta sitten
Ivan Pozdeev
a7044d2c06
Prevent build from installing MacOS apps globally
5 vuotta sitten
Ivan Pozdeev
d010b4110a
adjust tests
5 vuotta sitten
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
5 vuotta sitten
Ivan Pozdeev
b4511f0787
Remove test for the feature
5 vuotta sitten
Ivan Pozdeev
37f6349b01
Make test independent of umask
Only test the permission bit that we're setting
5 vuotta sitten
Mateusz Neumann
3bdafde5bf
Fix URLs in the tests
5 vuotta sitten
James Curtin
5d84eed869
Add support for PYTHON_BUILD_MIRROR_URL when checksums do not exist ( #1673 )
5 vuotta sitten
Varun Agrawal
a8f5fc13ee
Improved messages for uninstall ( #1591 )
6 vuotta sitten
Mikhail Bulash
4157973301
Find zlib from Xcode or brew on Mojave ( #1353 )
fixes #1219 , #1333
7 vuotta sitten
Andrew Rabert
0f596d2504
Revert "Merge pull request #1153 from cmcginty/remove-sbang"
This reverts commit 070e1c859fb2584c3dbe0a6fbe58cbc80938654e, reversing
changes made to 3faeda67bb .
7 vuotta sitten
Yamashita, Yuu
02a4b33b62
Run python-build directly from make to avoid job cancellation after 10 min no output on travis-ci.org
7 vuotta sitten
Yamashita, Yuu
e7ed7fa27e
Fix tests
7 vuotta sitten
Casey McGinty
83e5459cfb
Remove shebang lines from scripts for performance
All scripts in libexec/ (excluding pyenv) are called through pyenv,
therefore the shebang lines are not necessary. On some systems this
provides a measurable increase in performance of the shell prompt.
Related to pyenv/pyenv-virtualenv#259
8 vuotta sitten
Chris Hunt
8ed7912759
Add CI builds that actually build Python.
For now this just builds the latest CPython, but it can be
extended to include other versions.
Skip with `[skip build]` in commit message.
7 vuotta sitten
Yamashita, Yuu
b3ba0fd7e3
Refactor test code of python-build. Use curl during tests by default
8 vuotta sitten
Yamashita, Yuu
c8ad3385c7
Import latest changes from https://github.com/rbenv/ruby-build as of v20180424
8 vuotta sitten
Yamashita, Yuu
098fb9f07a
Rewrite python-build tests with using `PYTHON_BUILD_HTTP_CLIENT`
8 vuotta sitten
Yamashita, Yuu
a1d39c1e25
Add test for custom `GET_PIP_URL` per versions
8 vuotta sitten
Yamashita, Yuu
9ff06f61b6
Fix broken tests
8 vuotta sitten
Yamashita, Yuu
7478310c1b
Fix tests regard to `--enable-unicode`
8 vuotta sitten
Yamashita, Yuu
d01fa09a7d
Migrate project URL to https://github.com/pyenv/pyenv
9 vuotta sitten
Yamashita, Yuu
35ecd398ac
Fix test failure on OS X
9 vuotta sitten