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

fastsimrust is now a submodule of fastsim #21

Merged
merged 16 commits into from
Jun 9, 2023

Conversation

calbaker
Copy link
Collaborator

@calbaker calbaker commented May 30, 2023

this solves various module not found issues
and is consistent with altrios.
Made it so that tests don't need any dev dependencies.

this solves various module not found issues
and is consistent with altrios.
@calbaker calbaker marked this pull request as draft May 30, 2023 20:15
deprecated `RUST_AVAILABLE` and `rustext`
@calbaker calbaker requested review from nreinicke and removed request for nreinicke May 30, 2023 21:09
@calbaker calbaker requested a review from kylecarow May 30, 2023 21:10
@calbaker calbaker marked this pull request as ready for review May 30, 2023 21:10
@calbaker calbaker marked this pull request as draft May 30, 2023 21:34
@calbaker
Copy link
Collaborator Author

@nreinicke, could I ask you to take a look at the failing tests for this PR? I'm unable to reproduce the error on my end and very baffled by the discrepancy.

@nreinicke
Copy link
Collaborator

nreinicke commented Jun 7, 2023

@calbaker - What's your definition of done here? I was hitting the same error locally using pytest and so I just switched over to using the unittest library and everything is working. Is there a specific reason you need to use pytest to run the test suite?

Of note: I could get pytest to work when installing the rust extension in a develop mode (either pip install -e . or maturin develop) and so you should still be able to use pytest locally for development

@nreinicke
Copy link
Collaborator

@calbaker - FYI - looks like using a dev install with pytest works fine on the server.

@calbaker calbaker marked this pull request as ready for review June 9, 2023 15:10
Copy link
Collaborator

@kylecarow kylecarow left a comment

Choose a reason for hiding this comment

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

Gave this a spin in a fresh Conda environment and everything seems to work beautifully. Nice!!

@kylecarow kylecarow merged commit 26edd86 into fastsim-2 Jun 9, 2023
3 checks passed
@kylecarow kylecarow deleted the fastsim-2-install-fix branch June 9, 2023 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants