t0b3
def5cd994e
Update 3.12-dev and add 3.13-dev ( #2703 )
3 years ago
Shengqi Chen
b1ee6c93c4
Try locate `readlink` first in pyenv-hooks, fix #2654 ( #2655 )
* Remove all use of `greadlink`, fix #2654
Signed-off-by: Harry Chen <i@harrychen.xyz>
* revert greadlink back in tests
---------
Signed-off-by: Harry Chen <i@harrychen.xyz>
Co-authored-by: Anton Petrov <anton.a.petrov@gmail.com>
3 years ago
Florian Schüller
68918e69b7
Support for BusyBox version of `head' ( #2629 )
3 years ago
native-api
dd60d5fae2
Fix overriding arguments for --enable-framework and --enable-universalsdk after #2592 ( #2605 )
3 years ago
native-api
f1a1f59c87
Fix `:latest` after #2568 ( #2599 )
* Cleanup mocks logic
* Add test for `:latest`
3 years ago
native-api
819e2b8f45
Fix wrong libpython being linked to in MacOS ( #2596 )
Without rpath, python would link up to the system's libpython
3 years ago
Ivan Pozdeev
e447fe5b73
Don't set --enable-shared if user supplied --disable-shared
3 years ago
Ivan Pozdeev
4242694a0e
Fix priority for user-supplied configure and make flags
3 years ago
Ivan Pozdeev
4bd8a975f4
Avoid adding dangling spaces to *FLAGS
3 years ago
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 years ago
native-api
2369ac2a08
Fix using dependencies from Ports in BSD with no pkg-config ( #2586 )
3 years ago
rockandska
31f372034d
Allow multiple versions for pyenv-install
3 years ago
Tobias Klauser
ff93c58bab
Remove stray newline after python-build installation ( #2566 )
To match other Pyenv commands
3 years ago
Ivan Pozdeev
18f62f266d
Remove no-longer-needed PyPy prerequisites
3 years ago
Dan Dees
cad18bb332
Add PyPy 7.3.10
3 years ago
Ivan Pozdeev
79fdf1e3bb
Improve Mac feature messages phrasing
3 years ago
Ivan Pozdeev
03bba03291
Set --enable-shared earlier
To take advantage of the existing logic to add to rpath
3 years ago
Ivan Pozdeev
cf50e2a2db
Don't hide output from extension checks
3 years ago
Anton Petrov
b3d52b05d2
--enable-shared by default on non-mac systems
3 years ago
native-api
31355676f0
Support `aria2c` being a snap ( #2528 )
Likely in Ubuntu where it's only available as a snap
3 years ago
native-api
1250d7dd30
Don't use Zlib from XCode SDK if a custom compiler is used ( #2516 )
3 years ago
Ivan Pozdeev
75022d5d7c
Revert version auto-resolution in `python-build`
It was moved to `pyenv-install`
3 years ago
native-api
a12f947cc3
Auto-resolve prefixes to the latest version ( #2487 )
3 years ago
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 years ago
Michael Šimáček
44510a68f1
Add graalpy-22.3.0 ( #2497 )
3 years ago
Ivan Pozdeev
faceb4b79c
Allow patching supplementary packages
3 years ago
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 years ago
Ivan Pozdeev
aa07a3a37c
Remove extraneous is_mac call
3 years ago
Sam Doran
e6446555f3
Add envvar to skip Homebrew
3 years ago
Dmitriy Serdyuk
c89a69a6ed
Add micropython 1.18 and 1.19.1 ( #2443 )
Support frozen builtin modules e.g. upip
3 years ago
hardikpnsp
afeb971fa2
Add support for multiple versions in `pyenv uninstall` ( #2432 )
3 years ago
brogon
f5cbba0636
Allow pypy2 pypy3 patching ( #2421 )
* Fix: patterns for pypy2.*/pypy3.* versions
* Shrink pypy patterns
* Fix extglob pattern
* Fix: no regex-charclasses like '[:digit:]' in 'extglob', needs also double-activation for parse/runtime stage
Co-authored-by: native-api <vano@mail.mipt.ru>
Co-authored-by: Bjoern Schneider <bjoern.schneider@scribos.com>
4 years ago
brogon
16f7ea03e8
Fix: patterns for pypy2.*/pypy3.* versions ( #2419 )
Co-authored-by: native-api <vano@mail.mipt.ru>
4 years ago
Ivan Pozdeev
97039ca1af
Fix accidental typo
4 years ago
native-api
bc13a87bee
Add flags for Homebrew into `python-config --ldflags` ( #2384 )
4 years ago
Alex Hedges
4456e64c89
Add post-install checks for curses, ctypes, lzma, and tkinter ( #2353 )
Tkinter check is conditional on DISPLAY
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
4 years ago
yggdr
cd5522965b
Pass through CFLAGS_EXTRA for Micropython ( #2007 )
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
4 years ago
Hugo van Kemenade
70b23638f4
Update 3.11-dev and add 3.12-dev ( #2361 )
4 years ago
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 years ago
native-api
d5b12f826d
Make PYENV_DEBUG imply -v for `pyenv install` ( #2347 )
Trace logs without `-v` are usually useless due to missing the build part.
So this leaves one less thing for users to worry about
when submitting error reports.
Mentioning `-v` in the issue template should stay for some time
since users report on old versions, too.
4 years ago
Ivan Pozdeev
49d955d584
Fix typo in looked-for argument name
4 years ago
Pedro Fonini
a98fee0555
python-build: add URL for get-pip for Python 3.6 ( #2238 )
4 years ago
native-api
971397dd4e
Revert "Disable coreutils on M1 Apple Silicon with arm64 ( #2020 )" ( #2212 )
This reverts commit 90d0d20508 .
After further consideration, we've decided to remove this workaround:
* It only has an effect if the user has added `gnubin` from Homebrew Coreutils to PATH which is an unsupported setup
* It was intended to be applied only to a few select 3.8 and 3.9 versions that officially support Apple Silicon and only fail with Homebrew Coreutils in PATH because they have `config.*` from a too old version of Autoconf that doesn't support the Arm64 arch -- but
* CPython devs [didn't actually fix the problem in 3.10, either, only in 3.11](https://github.com/pyenv/pyenv/pull/2157#issuecomment-968055387 ), so we'd need to apply it to all 3.10 releases, too
* users started pushing this workaround into other unrelated branches because they were using the above unsupported setup. See https://github.com/pyenv/pyenv/pull/2190#pullrequestreview-835221952 for discussion.
4 years ago
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 years ago
native-api
8db91d5516
Default --with-universal-archs to universal2 on Apple Silicon ( #2122 )
Don't override a user-supplied value
4 years ago
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 years ago
Ivan Pozdeev
f5cc25ed14
Fix "`build_package_pyston2.2': not a valid identifier"
4 years ago
Ivan Pozdeev
9985f7b436
Honor CONFIGURE_OPTS as well as PYTHON_CONFIGURE_OPTS when detecting options
4 years ago
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
4 years ago
Kevin Modzelewski
11c54713bb
This looks unnecessary now
4 years ago