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

Improve compatibility with Devpi 5.x #30

Merged
merged 2 commits into from Aug 6, 2019
Merged

Improve compatibility with Devpi 5.x #30

merged 2 commits into from Aug 6, 2019

Conversation

theMarix
Copy link
Contributor

@theMarix theMarix commented Aug 5, 2019

This will allow to fix the currently broken master of the Devpi acceptance tests.

Devpi 5.x seems to get stuck when processing of events is active during
state import. As disabling it provides a faster import and thus a faster
availability of the server, which will then process those events after
having started up, disabling event processing during import seems a sane
default.
@coveralls
Copy link

coveralls commented Aug 5, 2019

Coverage Status

Coverage remained the same at 97.309% when pulling 2fa97f8 on devpi-5 into 986d7ca on master.

@theMarix theMarix force-pushed the devpi-5 branch 3 times, most recently from 2014fcf to 459695e Compare August 5, 2019 16:22
@theMarix
Copy link
Contributor Author

theMarix commented Aug 5, 2019

Finally managed to fix all those Python version compatibility issues. So this should be good to review now.

@@ -44,7 +44,7 @@ def TestServer(users={}, indices={}, config={}, fail_on_output=['Traceback']):

def import_state(serverdir, importdir):
devpi_server_command(serverdir=serverdir, init=None)
devpi_server_command(serverdir=serverdir, **{'import': importdir})
devpi_server_command(serverdir=serverdir, **{'import': importdir, 'no-events': None})
Copy link
Member

Choose a reason for hiding this comment

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

What part of the Devpi 5.x release is this related to? 🤔

https://github.com/devpi/devpi/blob/master/server/CHANGELOG

Copy link
Member

Choose a reason for hiding this comment

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

Ah. Finally saw the commit message.

@StephanErb StephanErb merged commit 0aa703e into master Aug 6, 2019
@matthias-bach-by matthias-bach-by deleted the devpi-5 branch May 7, 2021 07:44
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.

None yet

4 participants