Skip to content

Update pytest config - #1489

Merged
wil93 merged 1 commit into
cms-dev:mainfrom
e-i-o:pytest-cleanup
Aug 5, 2025
Merged

Update pytest config#1489
wil93 merged 1 commit into
cms-dev:mainfrom
e-i-o:pytest-cleanup

Conversation

@prandla

@prandla prandla commented Jul 30, 2025

Copy link
Copy Markdown
Member
  • Move settings into pyproject.toml (one less file in the repo root :)
  • Set testpaths to avoid the "please monkey-patch earlier" warning from gevent (caused by pytest importing unnecessary files, including one that imported requests somewhere)

ps. feel free to ignore this until end of ioi if it makes your life easier in any way

* Move settings into pyproject.toml
* Set testpaths to avoid the "please monkey-patch earlier" warning from
  gevent (caused by pytest importing unnecessary files, including one
  that imported requests somewhere)
@pxsit

pxsit commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

I think it is also safe to remove .gitmodules since isolate isn't a submodule anymore (another file less in the repo root am I right?)

@wil93

wil93 commented Aug 5, 2025

Copy link
Copy Markdown
Member

Can you push again to trigger the tests?

@pxsit I think it's also fine to create a separate PR to remove that file 🙂

@wil93
wil93 merged commit 5326211 into cms-dev:main Aug 5, 2025
3 checks passed
@wil93

wil93 commented Aug 5, 2025

Copy link
Copy Markdown
Member

Actually I just bypassed the check, given that the tests were anyway already passing.

@prandla
prandla deleted the pytest-cleanup branch August 15, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants