Ivan Pozdeev
1e017f3917
Set useful PS4 in python-build
пре 2 година
Ivan Pozdeev
05bb4f9a8d
Use Homebrew in Linux if Pyenv is installed with Homebrew or PYTHON_BUILD_USE_HOMEBREW is set
пре 2 година
cpzt
2d85075123
Add micropython 1.20.0 and 1.21.0 ( #2869 )
пре 2 година
Marvin Häuser
2c69732fec
Add installation prefix to `python-config --ldflags` output ( #2865 )
Needed to link against libpython of the Pyenv-controlled installation
пре 2 година
startergo
d25cd0d0f5
Fix linking against Homebrew's Tcl/Tk 8.6.13 in MacOS ( #2820 )
Headers have been moved to the 'tcl-tk' subdir
This was causing Tcl/Tk 8.5 from XCode SDK to be silently picked instead
пре 2 година
Ivan Pozdeev
509d3a8855
Use pip<21 syntax in ensurepip call for pypy2.7-7.3.13 and 2.7.18
пре 2 година
Alex Hedges
928f69cf9a
Install ncurses from Homebrew, if available ( #2813 )
XCode Command Line Tools 15.0 was recently released, and it contains a
broken version of ncurses 6.0. Some uses of Python's `curses` module
will segfault when compiled with it. The solution is to switch to using
the version of ncurses from Homebrew, which is currently 6.4. Support
for ncurses 6 was added to Python 3.7 and was backported to 3.6 and 2.7,
so this change should not break any recently supported Python versions.
Tested with Python 3.12, 3.11, and 2.7, and all tests in
the `test.test_curses` module pass without issue.
See https://github.com/python/cpython/issues/109617 and
https://github.com/python/cpython/issues/69906 for more information.
пре 2 година
native-api
d2c4d963d2
Prioritize 'zlib from xcode sdk' flag correctly ( #2791 )
All include directories should go into CPPFLAGS.
XCode SDK was being added to CFLAGS instead
which caused old Tcl/Tk in the SDK to override a newer one in Homebrew.
пре 2 година
Timothy Pansino
8cfc75604b
Fix get-pip urls for older pypy versions ( #2788 )
пре 2 година
native-api
da3ac7b7a3
Prefer OpenSSL 3 in Homebrew since 3.12 ( #2781 )
пре 2 година
Evan Pitstick
6be6231444
Use -I with ensurepip
The -s flag assures that nothing can be installed to user site-packages
but doesn't keep ensurepip from looking there for Pip.
If Pip is installed in the user site-packages directory, pip won't be installed
for the newly built python -- and its shim won't be created.
-I makes the build install Pip in any case.
The user site-packages installation will override it --
but we'll have the shim at least.
пре 2 година
native-api
ac5efed3a8
Fix FreeBSD tests in MacOS CI ( #2748 )
Guthub have recently preinstalled x64 Homebrew OpenSSL to stock MacOS runners. This has caused FreeBSD OpenSSL detection logic to erroneously trigger when running FreeBSD tests in MacOS because their paths happened to coincide.
Replaced checking a specific path with checking with pkg.
пре 3 година
t0b3
def5cd994e
Update 3.12-dev and add 3.13-dev ( #2703 )
пре 3 година
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 година
Florian Schüller
68918e69b7
Support for BusyBox version of `head' ( #2629 )
пре 3 година
native-api
dd60d5fae2
Fix overriding arguments for --enable-framework and --enable-universalsdk after #2592 ( #2605 )
пре 3 година
native-api
f1a1f59c87
Fix `:latest` after #2568 ( #2599 )
* Cleanup mocks logic
* Add test for `:latest`
пре 3 година
native-api
819e2b8f45
Fix wrong libpython being linked to in MacOS ( #2596 )
Without rpath, python would link up to the system's libpython
пре 3 година
Ivan Pozdeev
e447fe5b73
Don't set --enable-shared if user supplied --disable-shared
пре 3 година
Ivan Pozdeev
4242694a0e
Fix priority for user-supplied configure and make flags
пре 3 година
Ivan Pozdeev
4bd8a975f4
Avoid adding dangling spaces to *FLAGS
пре 3 година
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 година
native-api
2369ac2a08
Fix using dependencies from Ports in BSD with no pkg-config ( #2586 )
пре 3 година
rockandska
31f372034d
Allow multiple versions for pyenv-install
пре 3 година
Tobias Klauser
ff93c58bab
Remove stray newline after python-build installation ( #2566 )
To match other Pyenv commands
пре 3 година
Ivan Pozdeev
18f62f266d
Remove no-longer-needed PyPy prerequisites
пре 3 година
Dan Dees
cad18bb332
Add PyPy 7.3.10
пре 3 година
Ivan Pozdeev
79fdf1e3bb
Improve Mac feature messages phrasing
пре 3 година
Ivan Pozdeev
03bba03291
Set --enable-shared earlier
To take advantage of the existing logic to add to rpath
пре 3 година
Ivan Pozdeev
cf50e2a2db
Don't hide output from extension checks
пре 3 година
Anton Petrov
b3d52b05d2
--enable-shared by default on non-mac systems
пре 3 година
native-api
31355676f0
Support `aria2c` being a snap ( #2528 )
Likely in Ubuntu where it's only available as a snap
пре 3 година
native-api
1250d7dd30
Don't use Zlib from XCode SDK if a custom compiler is used ( #2516 )
пре 3 година
Ivan Pozdeev
75022d5d7c
Revert version auto-resolution in `python-build`
It was moved to `pyenv-install`
пре 3 година
native-api
a12f947cc3
Auto-resolve prefixes to the latest version ( #2487 )
пре 3 година
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 година
Michael Šimáček
44510a68f1
Add graalpy-22.3.0 ( #2497 )
пре 3 година
Ivan Pozdeev
faceb4b79c
Allow patching supplementary packages
пре 3 година
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 година
Ivan Pozdeev
aa07a3a37c
Remove extraneous is_mac call
пре 3 година
Sam Doran
e6446555f3
Add envvar to skip Homebrew
пре 3 година
Dmitriy Serdyuk
c89a69a6ed
Add micropython 1.18 and 1.19.1 ( #2443 )
Support frozen builtin modules e.g. upip
пре 3 година
hardikpnsp
afeb971fa2
Add support for multiple versions in `pyenv uninstall` ( #2432 )
пре 3 година
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 година
brogon
16f7ea03e8
Fix: patterns for pypy2.*/pypy3.* versions ( #2419 )
Co-authored-by: native-api <vano@mail.mipt.ru>
пре 4 година
Ivan Pozdeev
97039ca1af
Fix accidental typo
пре 4 година
native-api
bc13a87bee
Add flags for Homebrew into `python-config --ldflags` ( #2384 )
пре 4 година
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 година
yggdr
cd5522965b
Pass through CFLAGS_EXTRA for Micropython ( #2007 )
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
пре 4 година
Hugo van Kemenade
70b23638f4
Update 3.11-dev and add 3.12-dev ( #2361 )
пре 4 година