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

set max aiohttp version to 3.5.1 (until build is fixed) #844

Merged
merged 1 commit into from
Jan 10, 2019

Conversation

dtkav
Copy link
Collaborator

@dtkav dtkav commented Jan 9, 2019

Fixes master

Master is broken because of an aiohttp update upstream:
https://travis-ci.org/zalando/connexion/builds/469438675

Changes proposed in this pull request:

  • add an upper bound on the aiohttp version (<3.5.2)

I want to confirm that this fixes the build, and then we can investigate how to support the newest version.

@hjacobs
Copy link
Contributor

hjacobs commented Jan 10, 2019

👍

@hjacobs hjacobs merged commit b2a4287 into spec-first:master Jan 10, 2019
cognifloyd added a commit to cognifloyd/connexion that referenced this pull request May 22, 2019
@cognifloyd cognifloyd mentioned this pull request May 22, 2019
hjacobs pushed a commit that referenced this pull request Oct 15, 2019
* Revert "set max aiohttp version to 3.5.1 (until build is fixed) (#844)"

This reverts commit b2a4287.

* Fix test_run_with_aiohttp_not_installed

Somewhere between 3.5.1 and 3.5.2, the aiohttp reimport started
succeeding (in connexion.connexion.cli.run()). It's not clear which
change caused the issue, but it's probably one of:

- aio-libs/aiohttp#3469 (Remove wildcard imports)
- aio-libs/aiohttp#3464 (Don't suppress gunicorn cleanup errors)
- aio-libs/aiohttp#3471 (Refactor workers)
- aio-libs/aiohttp#3500 (Ignore done tasks)

In any case, setting sys.modules['aiohttp'] = None should prevent
reimporting it. See: https://stackoverflow.com/a/1350574

I successfully tested locally on py37 with aiohttp 3.5.1 and 3.5.2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants