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

Dedicated job for memray tests #8104

Merged
merged 2 commits into from
Aug 14, 2023
Merged

Dedicated job for memray tests #8104

merged 2 commits into from
Aug 14, 2023

Conversation

fjetter
Copy link
Member

@fjetter fjetter commented Aug 14, 2023

Closes #8103

I think this is available on 3.10

"Proper" fix would be conda/conda#8089

@hendrikmakait
Copy link
Member

CI still fails and conda-forge only shows installers for Linux and Mac OS: https://anaconda.org/conda-forge/memray

@fjetter
Copy link
Member Author

fjetter commented Aug 14, 2023

CI still fails and conda-forge only shows installers for Linux and Mac OS:

Ah, thanks for the link. My CLI was somehow crashing and I was more or less guessing how the output could be interpreted :)

This is unfortunate. Does anybody have an idea on how to do this then? My two ideas are

  • Dedicated environments file -> I'd rather not
  • Extra step in CI that installs memray -> meh...
  • Don't test :/

@hendrikmakait
Copy link
Member

Those are the options I came up with as well. Another less-than-ideal one would be moving it into a dedicated package/repo that could have a lower-complexity CI.

@fjetter
Copy link
Member Author

fjetter commented Aug 14, 2023

Those are the options I came up with as well. Another less-than-ideal one would be moving it into a dedicated package/repo that could have a lower-complexity CI.

Don't like this either. I like that this kind of tooling is just packaged and shipped with the core. I think I'll go for the extra CI step ¯_(ツ)_/¯

@@ -4,6 +4,7 @@

memray = pytest.importorskip("memray")

pytestmark = pytest.mark.extra_packages
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this marker to have the job run really quickly. We could also mark with memray explicitly. No strong preference.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kept it general because we're requiring strict markers and this felt a bit too specific but this doesn't really matter either way

@fjetter
Copy link
Member Author

fjetter commented Aug 14, 2023

FYI I accidentally published the branch to dask/distributed instead of my fork. I suspect this PR will be merged very quickly so I won't migrate the branch. mea culpa

@fjetter fjetter changed the title move memray tests to py3.10 Dedicated job for memray tests Aug 14, 2023
@fjetter fjetter merged commit b899186 into main Aug 14, 2023
38 of 48 checks passed
@fjetter fjetter deleted the move_memray_to_310 branch August 14, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

memray broke Windows 3.9 CI
2 participants