-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase timeouts to up to 30 sec; drop Py 3.6 (#43)
* Simplify event loop handling, bump Python requirement to 3.7 * Increase timeouts to up to 30 sec; drop Py 3.6 * Handle gateway timeout when fetching metadata * Ramp up timeout for GraphQL endpoint * Fix test * Bump timeout in another place too * Bump timeout to 60 sec * Retry on RemoteProtocolError * Make use of GH concorrency limit, remove push trigger * Remove push trigger for linter * Cancel in-progress linting * concurrency logic * Do not cancel * Better logging * Limit tests to Py 3.7 for now to avoid hitting OpenNeuro rate limit
- Loading branch information
1 parent
c6a6701
commit 805f79c
Showing
6 changed files
with
81 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[metadata] | ||
name = openneuro-py | ||
version = 2021.4 | ||
version = 2021.5 | ||
author = Richard Höchenberger <[email protected]> | ||
author_email = [email protected] | ||
url = https://github.com/hoechenberger/openneuro-py | ||
|
@@ -16,9 +16,12 @@ classifiers = | |
Intended Audience :: Science/Research | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
|
||
[options] | ||
python_requires = >=3.6 | ||
python_requires = >=3.7 | ||
install_requires = | ||
httpx >=0.15 | ||
requests | ||
|
@@ -32,3 +35,6 @@ install_requires = | |
[options.entry_points] | ||
console_scripts = | ||
openneuro-py = openneuro.openneuro:cli | ||
|
||
[tool:pytest] | ||
addopts = -s |