Skip to content

Updates to build Python 3.7 #256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 33 commits into from

Conversation

dbrnz
Copy link
Contributor

@dbrnz dbrnz commented Aug 6, 2019

This gets Python 3.7 built using CMake, without breaking builds for 3.6, 3.5 and 2.7.

It's mainly been mainly under macOS but I've also successfully built 3.7.4 under Ubuntu 18.04 and Windows 10 (although I suspect more work is needed for Windows...).

jcfr and others added 29 commits March 19, 2018 18:14
* Rename "Modules/random.c" to "Modules/bootstrap_hash.c"
  See python/cpython@6b4be19
      bpo-22257: Small changes for PEP 432. (#1728)
      PEP 432 specifies a number of large changes to interpreter startup code,
      including exposing a cleaner C-API. The major changes depend on a number
      of smaller changes. This patch includes all those smaller changes.

* Remove bundled copy of libffi (Closes #27979)
  See python/cpython@f40d4dd
      An installed copy of libffi is now required for building _ctypes on
      any platform but OSX and Windows.
When configuring the project with -DSRC_DIR:PATH=/path/to/src/Python, this
commit makes sure that the python version associated with the source
directory is associated with the PYTHON_VERSION cache variable.
drop random.c
add
call.c
bootstraph_has.c
ast_opt.c
ast_unparse.c
pathconfig.c
context.c
hamt.c
@dbrnz dbrnz mentioned this pull request Aug 6, 2019
@dbrnz
Copy link
Contributor Author

dbrnz commented Aug 6, 2019

@dand-oss, I've now merged your PR #254 into this PR.

@dand-oss
Copy link
Contributor

@dand-oss, I've now merged your PR #254 into this PR.

Great, I will switch and try it out...

@jcfr
Copy link
Contributor

jcfr commented Aug 20, 2019

Closing. Changes in this PR have been integrated in #257

@jcfr jcfr closed this Aug 20, 2019
@dbrnz dbrnz deleted the python37 branch November 28, 2019 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants