Skip to content
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

Tests babel independency #82

Merged
merged 7 commits into from
Aug 27, 2016
Merged

Conversation

gracinet
Copy link
Contributor

Since last spring, Anybox's buildbot has had test failures on the recipe that were overlooked, because as far as unit tests go, it's been superseded by Travis, and I guess that's why the Travis sequence installs Sphinx only after the tests have passed.

Anyway, the tests did fail if Babel was installed in the virtualenv, now they don't and it's saner.

Georges Racinet added 4 commits August 27, 2016 15:54
- the precise version can depend on setuptools version
- we will need to change them, to avoid collisions with a
  real python dist (Babel) that could also be installed
  (can come as a Sphinx dependency, for instance)

Also silenced all python setup.py preparatory calls from unit tests
(cluttered output).
Nowadays, Babel comes as a dependency of Sphinx,
and consequently can be installed in the testing virtualenv.
The tests need to stop referring to it
and renaming BabelFake as FictiveDist

The recipe still has hardcoded dependencies to Babel,
(mostly for historical reasons, but we don't want to clean
that up right now), so a fake babel posing really as Babel is
needed.

Had not been spotted in the course of the previous refactor,
because the change of name induced a change in cleanups, and
I had a Babel.egg-info shadowing the problem.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 86.368% when pulling 025f3d3 on gracinet:tests_babel_independency into 74f46ff on anybox:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 86.375% when pulling 211e490 on gracinet:tests_babel_independency into 74f46ff on anybox:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 86.375% when pulling 357d5a4 on gracinet:tests_babel_independency into 74f46ff on anybox:master.

@gracinet gracinet merged commit 4f155c4 into anybox:master Aug 27, 2016
@gracinet
Copy link
Contributor Author

and I have no afterthoughts merging this PR that's purely about tests refactoring (will be useful for subsequent pre-1.9.2 merges)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants