Skip to content

Commit ec8a0d2

Browse files
committed
Merge branch 'feature/dep-group-tests' into feature/buff-worms
Closes #379
2 parents 99ac9cc + 9ab77ae commit ec8a0d2

5 files changed

Lines changed: 14 additions & 9 deletions

File tree

mfr/core/remote_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ async def _send_to_keen(payload, collection, project_id, write_key, action, doma
113113
settings.KEEN_API_VERSION,
114114
project_id, collection)
115115

116-
async with await aiohttp.request('POST', url, headers=headers, data=serialized) as resp:
116+
async with aiohttp.request('POST', url, headers=headers, data=serialized) as resp:
117117
if resp.status == 201:
118118
logger.info(f'Successfully logged {action} to {collection} collection in {domain} Keen')
119119
else:

mfr/providers/osf/provider.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import furl
99
import aiohttp
10-
from aiohttp.errors import ContentEncodingError
1110

1211
from waterbutler.core import streams
1312

@@ -92,7 +91,7 @@ async def metadata(self):
9291

9392
try:
9493
metadata = {'data': json.loads(response_headers['x-waterbutler-metadata'])['attributes']}
95-
except ContentEncodingError:
94+
except Exception:
9695
pass # hack: aiohttp tries to unzip empty body when Content-Encoding is set
9796

9897
self.metrics.add('metadata.raw', metadata)

requirements.txt

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ pydocx==0.9.10
2424
# Image
2525
olefile==0.44
2626
Pillow==11.0.0
27-
psd-tools==1.4
27+
psd-tools==1.10.7
2828

2929
# IPython
3030
ipython==7.31.1
31-
nbconvert==4.2.0
32-
nbformat==4.1.0
33-
traitlets==4.2.2
31+
nbconvert==6.4.0
32+
nbformat==5.1.3
33+
traitlets==5.0
3434
jsonschema==2.4.0
35-
jinja2==2.10.1
35+
jinja2==3.0.0
3636
mistune==0.8.1
3737

3838
# Pdf
@@ -54,3 +54,9 @@ scipy==1.14.1
5454
markdown==3.8.0
5555

5656
certifi==2025.1.31
57+
58+
59+
markupsafe==2.0.1
60+
61+
# Standard library imghdr redistribution because it is not supported in python 3.13.
62+
standard-imghdr==3.13.0

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ ignore = E501,E127,E128,E265,E301,E302,F403,E731
1010
max-line-length = 100
1111
exclude = .ropeproject,tests/*,src/*,env,venv,node_modules/*
1212

13-
[pytest]
13+
[tool:pytest]
1414
norecursedirs = .* build CVS _darcs {arch} *.egg venv node_modules/*

tests/core/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)