-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Forward-ported fixes from python-package + other updates. (#32)
* Use latest pythia version. * Forward-port python-package brink.{conf,sh} updates. * Use latest zlib. * Use latest libffi. * Try using latest available Python 3.8.x packages. * Fixed downloading latest libffi. * Use latest OpenSSL when building. * Back to tried and true Python 3.8.6. This reverts commit ceb021b. * Use our own CentOS 5.11 Docker image. * Also install unzip on CentOS 5. * Updated condition to match CentOS 5 container name. * Grand rename of the brink and build scripts. * Updated GitHub workflows for the grand rename. * Move stray pkgconfig files to their place. * Back to manually installing libffi for CentOS 5. * Added strong Bash checks for building. * Removed scripted OS package management. * Try to fix fallout from removing scripted OS pkg mgmt. * Build xz for Python's lzma module. * Download xz from SourceForge to have it work on CentOS 5. * Try building xz only on generic Linux. * Updated deps checks. * Try building xz on Alpine. * Package management fixes. * More xz build tweaks. * Install required headers on Alpine. * Try building xz on macOS differently. * Accomodate stricter bash checks in functions.sh. * Disabled building shared xz libs. * Changes after own review. * Updated sqlite. * Updated pip and most Python modules. * Try latest cryptography not requiring Rust. * Change after review. Co-authored-by: Adi Roiban <[email protected]> * More changes related to PyPI's index_url. * Even more changes related to PyPI's index_url. * Build xz probably needs to be built on all BSD-derived OS'es. * One last change related to PyPI's index_url. Co-authored-by: Adi Roiban <[email protected]>
- Loading branch information
Showing
30 changed files
with
271 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Configuration file for building Pythia. | ||
|
||
# Sub-directories for building from sources and for the final distributable. | ||
BUILD_DIR="build" | ||
DIST_DIR="dist" | ||
|
||
# Python and lib versions. | ||
PYTHON_BUILD_VERSION="3.8.6" | ||
LIBFFI_VERSION="3.4.2" | ||
ZLIB_VERSION="1.2.12" | ||
BZIP2_VERSION="1.0.8" | ||
XZ_VERSION="5.2.5" | ||
# Statically build the BSD libedit on selected platforms to get the | ||
# readline module available without linking to the GPL-only readline libs. | ||
LIBEDIT_VERSION="20170329-3.1" | ||
OPENSSL_VERSION="1.1.1n" | ||
# To match the unusual naming scheme for SQLite downloads, eliminate dots from | ||
# the regular SQLite version, then add 3 zeros. E.g. "3.33.0" -> "3330000". | ||
# When updating this, also update the year in src/sqlite/chevahbs, if needed. | ||
SQLITE_VERSION="3380300" | ||
# These are used by get-pip.py. | ||
PIP_VERSION="22.0.4" | ||
SETUPTOOLS_VERSION="62.1.0" | ||
|
||
# Python modules versions to be used everywhere possible. | ||
CFFI_VERSION="1.15.0" | ||
CRYPTOGRAPHY_VERSION="3.4.8" | ||
SUBPROCESS32_VERSION="3.5.4" | ||
BCRYPT_VERSION="3.2.2" | ||
PSUTIL_VERSION="5.9.0" | ||
SETPROCTITLE_VERSION="1.2.3" | ||
|
||
# pycparser is explicitly installed to work around setuptools auto dependencies. | ||
PYCPARSER_VERSION="2.21" | ||
|
||
# Global flags for building required libs. | ||
BUILD_LIBFFI="no" | ||
BUILD_ZLIB="no" | ||
BUILD_BZIP2="yes" | ||
BUILD_XZ="no" | ||
BUILD_LIBEDIT="yes" | ||
BUILD_OPENSSL="no" | ||
BUILD_SQLITE="yes" | ||
|
||
# List of default Python modules installed using pip. | ||
PIP_LIBRARIES="\ | ||
cffi==${CFFI_VERSION} \ | ||
cryptography==${CRYPTOGRAPHY_VERSION} \ | ||
subprocess32==${SUBPROCESS32_VERSION} \ | ||
bcrypt==${BCRYPT_VERSION} \ | ||
psutil==${PSUTIL_VERSION} \ | ||
setproctitle==${SETPROCTITLE_VERSION} | ||
" | ||
PIP_ARGS="\ | ||
--index-url=${PIP_INDEX_URL} \ | ||
--no-warn-script-location \ | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.