summaryrefslogtreecommitdiff
path: root/pkgs/development/interpreters/python/cpython/3.7
AgeCommit message (Collapse)Author
2024-11-06python{27,39,310,311,312,313,314}: drop Darwin `libutil` patchEmily
2023-01-05python37: dropMartin Weinelt
The package set hasn't been working for a long time now, due to infinite recursions, that nobody was going to fix. The release is going to go EOL in 2023/06 and we don't want to ship it in NixOS 23.05 anyway.
2022-11-29cpython: drop leftover 3.5/3.6 logic and patchesMartin Weinelt
2021-03-03python37, python2: remove win64 workaround to fix aarch64-darwinIvan Babrou
The issue manifests itself as the following on `aarch64-darwin`: ``` >>> import ctypes Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/nix/store/i8cq0xrjirz1rcp65wzcyhj6ypzlw9il-python3-3.7.10/lib/python3.7/ctypes/__init__.py", line 551, in <module> _reset_cache() File "/nix/store/i8cq0xrjirz1rcp65wzcyhj6ypzlw9il-python3-3.7.10/lib/python3.7/ctypes/__init__.py", line 273, in _reset_cache CFUNCTYPE(c_int)(lambda: None) MemoryError ``` The commit we backport is included in Python 3.8, and it reverts the change that was introduced all the way back in Python 2.7.
2021-02-20python37: 3.7.9 -> 3.7.10, fixup patchesMartin Weinelt
2020-12-28cpython: fix finding headers when cross-compiling extension modulesBen Wolsieffer
2020-12-28cpython: fix ctypes.util.find_libraryLucas Ransan
2020-11-25Revert "Revert "Revert "cpython: fix finding headers when cross-compiling ↵Frederik Rietdijk
extension modules""" This still does not function without issues. E.g., bootstrapped-pip fails with Python 3.6 and 3.7 as well as 3.8 on 32-bit. Because this is a stdenv-rebuild it needs to be tested significantly better This reverts commit 6100bc29f72b85332014bb4362721eda379e0e03.
2020-11-23Revert "Revert "cpython: fix finding headers when cross-compiling extension ↵Frederik Rietdijk
modules"" Moving the sysconfig file caused spidermonkey_78 to fail to build. We now symlink it instead. This reverts commit 6a23dde75bd9bb0cdcc58477439aaf1e146e3623.
2020-11-22Revert "cpython: fix finding headers when cross-compiling extension modules"Frederik Rietdijk
This breaks virtualenv https://github.com/NixOS/nixpkgs/issues/104483. We should probably not move `_sysconfigdata` but just copy it for cross to another place or output. This reverts commit 11806b6ede420bbdb980ca1c36918b71e9ddc0a2.
2020-11-19cpython: fix finding headers when cross-compiling extension modulesBen Wolsieffer
2020-05-09python: Fix creating RPMs from Python packagesJosef Kemetmüller
This should enable (manual) building of RPMs from python projects using the `python setup.py bdist_rpm` command on systems where `rpmbuild` is not located in `/usr/bin/`. (e.g. NixOS) The discovery of the rpmbuild command was fixed upstream in Python 3.8, so this commit backports the relevant patch to our currently supported Python 3 versions. Fixes: #85204
2020-01-14cpython: fetch darwin-libutil.patch to nixpkgsLuka Blaskovic
python3 is now required buildInput for glibc>=2.29. Remove fetchpatch to solve infinite recursion in glibc bootstrap process.
2019-07-15python37: fix distutils C++ patch (PR #64758)Mario Rodas
Update distutils patch to the upstream changes. See: https://github.com/python/cpython/commit/6c0e0d141a07cc3fd2441d9df8d762f56bf7edf2
2019-04-15python37: fix build on macOSMatthew Glazar
The upstream patch for distutils does not apply cleanly to Python 3.7.3's sources. (The patch applies cleanly to Python 3.7.2's sources, but nixpkgs commit 0ddae82e6a6388466a825000139f9fb986b50418 upgraded Python to 3.7.3.) Fix the patch to make python37 build on macOS.
2019-01-04CPython: merge expressions of interpretersFrederik Rietdijk
Each time a new major/minor version of CPython was released, a new expression would be written, typically copied from the previous release. Often fixes are only made in the current/latest release. By merging the expressions it's more likely that modifications end up in all versions, as is likely intended. This commit introduces one expression for Python 3, and another for 2.7. These two may also be merged, but it will result in a lot of extra conditionals making the expression harder to follow. A common passthru is introduced for CPython and PyPy. python 2.7: use common passthru
2019-01-01python37: fix cross buildFranz Pletz
2018-12-27Merge staging-next into stagingFrederik Rietdijk
2018-12-27python37: fix darwin buildMario Rodas
Remove issue24658 patch because is already fixed and backported to Python 3.7 https://github.com/python/cpython/commit/178d1c07778553bf66e09fe0bb13796be3fb9abf
2018-12-26python37: remove references to openssl.devFrederik Rietdijk
2018-12-26Merge staging-next into stagingFrederik Rietdijk
2018-12-25python37: 3.7.1 -> 3.7.2Frederik Rietdijk
2018-12-22treewide: remove paxutils from stdenvJörg Thalheim
More then one year ago we removed grsecurity kernels from nixpkgs: https://github.com/NixOS/nixpkgs/pull/25277 This removes now also paxutils from stdenv.
2018-12-18python37: fix cross-compilationJörg Thalheim
2018-10-20python37: 3.7.0 -> 3.7.1Frederik Rietdijk
2018-09-25python-*: Format `pythonPackages` bindingsJohn Ericson
2018-07-21pkgs/*: remove unreferenced function argumentsvolth
2018-07-20[bot]: remove unreferenced codevolth
2018-07-14Merge branch 'master' into staging-nextVladimír Čunát
Hydra: ?compare=1468896
2018-07-09Merge pull request #42894 from LnL7/darwin-python37Daiderd Jordan
python37: fix darwin build
2018-07-09python37: fix darwin buildDaiderd Jordan
2018-07-03python37: apply distutils patchDmitry Kalinkin
2018-07-01python37: fix openssl detectionJörg Thalheim
Before python37 was build without ssl support. Tested with `python -c 'import ssl'`
2018-06-28python37: 3.7.0rc1 -> 3.7.0Frederik Rietdijk
2018-06-25python37: init at 3.7.0rc1Frederik Rietdijk