Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-30871: Add "make pythoninfo"#3120

Merged
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:make_pythoninfoCopy head branch name to clipboard
Aug 18, 2017
Merged

bpo-30871: Add "make pythoninfo"#3120
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:make_pythoninfoCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Aug 17, 2017

Copy link
Copy Markdown
Member

This command will be used on buildbots to easily run "./python -m test.pythoninfo" in a dedicated buildbot step. The tricky part is to build the command to run Python: when shared library is enabled, "./python.exe" on macOS, etc.

https://bugs.python.org/issue30871

Comment thread Makefile.pre.in
fi
$(TESTRUNNER) -j 1 -u all -W --slowest --fail-env-changed --timeout=$(TESTTIMEOUT) $(TESTOPTS)

pythoninfo: build_all

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hesitate between "build_all" and "$(BUILDPYTHON)".

Using build_all, "make pythoninfo" runs again setup.py to try to build extensions, as done by "make buildbottest". I expect that running setup.py multiple times has no side effect.

Using $(BUILDPYTHON), "make pythoninfo" fails from a fresh build because basic modules like _posixsubprocess are not built yet.

@vstinner vstinner merged commit a3a01a2 into python:master Aug 18, 2017
@vstinner vstinner deleted the make_pythoninfo branch August 18, 2017 09:45
vstinner added a commit that referenced this pull request Aug 21, 2017
* bpo-30871: Add test.pythoninfo (#3075)

* Add Lib/test/pythoninfo.py: script collecting various informations
  about Python to help debugging test failures.
* regrtest: remove sys.hash_info and sys.flags from header.
* Travis CI, Appveyor: run pythoninfo before tests
(cherry picked from commit b907abc)

* bpo-30871: pythoninfo: add expat and _decimal (#3121)

* bpo-30871: pythoninfo: add expat and _decimal

* Remove _decimal.__version__

The string is hardcoded, not really interesting.

(cherry picked from commit f6ebd83)

* bpo-30871: Add "make pythoninfo" (#3120)

(cherry picked from commit a3a01a2)

* bpo-30871: pythoninfo: more sys, os, time data (#3130)

* bpo-30871: pythoninfo: more sys, os, time data

PythonInfo now converts types other than intger to string by default.

* fix typo

(cherry picked from commit ad7eaed)

* bpo-31231: Fix pythoninfo in Travis config (#3134)

bpo-31231, bpo-30871: Replace "./python -m test.pythoninfo" with
"make pythoninfo", since macOS uses ./python.exe.
(cherry picked from commit 92b1f90)
vstinner added a commit that referenced this pull request Aug 22, 2017
* bpo-30871: Add test.pythoninfo (#3075)

* Add Lib/test/pythoninfo.py: script collecting various informations
  about Python to help debugging test failures.
* regrtest: remove sys.hash_info and sys.flags from header.
* Travis CI, Appveyor: run pythoninfo before tests
(cherry picked from commit b907abc)

* bpo-30871: pythoninfo: add expat and _decimal (#3121)

* bpo-30871: pythoninfo: add expat and _decimal

* Remove _decimal.__version__

The string is hardcoded, not really interesting.

(cherry picked from commit f6ebd83)

* bpo-30871: Add "make pythoninfo" (#3120)

(cherry picked from commit a3a01a2)

* bpo-30871: pythoninfo: more sys, os, time data (#3130)

* bpo-30871: pythoninfo: more sys, os, time data

PythonInfo now converts types other than intger to string by default.

* fix typo

(cherry picked from commit ad7eaed)

* bpo-31231: Fix pythoninfo in Travis config (#3134)

bpo-31231, bpo-30871: Replace "./python -m test.pythoninfo" with
"make pythoninfo", since macOS uses ./python.exe.
(cherry picked from commit 92b1f90)

(cherry picked from commit 29d007b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.