Skip to content

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

Merged
hjacobs merged 1 commit intospec-first:masterfrom
dtkav:aiohttp_version_upper_bound
Jan 10, 2019
Merged

set max aiohttp version to 3.5.1 (until build is fixed)#844
hjacobs merged 1 commit intospec-first:masterfrom
dtkav:aiohttp_version_upper_bound

Conversation

@dtkav
Copy link
Copy Markdown
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
Copy Markdown
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