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

Fix packaging #2381

Merged
merged 2 commits into from
Oct 20, 2019
Merged

Fix packaging #2381

merged 2 commits into from
Oct 20, 2019

Conversation

bristea
Copy link
Contributor

@bristea bristea commented Oct 19, 2019

Removes hacks from setup.py and adds extra tests that should
prevent future regressions.

The previous workaround was broken as tox was unable to run twice
on the same environment. The assumption that newer setuptools
was preventing installation only during install was wrong, the
reality was that newer version broke packaging completely.

Fixes: #2379

Signed-off-by: Bogdan Ristea <Bogdan Ristea bogdan.ristea@gmail.com>

Please include details of what it is, how to use it, how it's been tested
Please include an entry in the CHANGELOG.md if the change will impact users.

PR Type

  • Bugfix Pull Request

Removes hacks from setup.py and adds extra tests that should
prevent future regressions.

The previous workaround was broken as tox was unable to run twice
on the same environment. The assumption that newer setuptools
was preventing installation only during install was wrong, the
reality was that newer version broke packaging completely.

Fixes: #2379

Signed-off-by: Bogdan Ristea <Bogdan Ristea bogdan.ristea@gmail.com>
Signed-off-by: Bogdan Ristea <Bogdan Ristea bogdan.ristea@gmail.com>
Copy link
Contributor

@decentral1se decentral1se left a comment

Choose a reason for hiding this comment

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

I'm no packaging person but this all looks a bit confusing.

Thanks for the efforts.

pyproject.toml Show resolved Hide resolved
.travis.yml Show resolved Hide resolved
setup.py Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
setup.py Show resolved Hide resolved
@ssbarnea ssbarnea merged commit c9fee49 into ansible:master Oct 20, 2019
@ssbarnea ssbarnea added the packaging installation, packaging, built containers label Oct 23, 2019
sio pushed a commit to sio/molecule that referenced this pull request Feb 18, 2020
Removes hacks from setup.py and adds extra tests that should
prevent future regressions.

The previous workaround was broken as tox was unable to run twice
on the same environment. The assumption that newer setuptools
was preventing installation only during install was wrong, the
reality was that newer version broke packaging completely.

Fixes: ansible#2379

Signed-off-by: Bogdan Ristea <Bogdan Ristea bogdan.ristea@gmail.com>
Oloremo pushed a commit to Oloremo/molecule that referenced this pull request May 4, 2020
Removes hacks from setup.py and adds extra tests that should
prevent future regressions.

The previous workaround was broken as tox was unable to run twice
on the same environment. The assumption that newer setuptools
was preventing installation only during install was wrong, the
reality was that newer version broke packaging completely.

Fixes: ansible#2379

Signed-off-by: Bogdan Ristea <Bogdan Ristea bogdan.ristea@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packaging installation, packaging, built containers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants