Skip to content

Conversation

@Alex-PLACET
Copy link
Member

No description provided.

@Alex-PLACET Alex-PLACET self-assigned this Nov 21, 2025
@Alex-PLACET Alex-PLACET marked this pull request as draft November 21, 2025 12:42
@Alex-PLACET Alex-PLACET marked this pull request as ready for review November 21, 2025 15:42
sys.exit(1)

print("\nAll dependencies installed!")
sys.exit(0)
Copy link
Member

Choose a reason for hiding this comment

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

I think we can drop this file, the dependencies are already in the environment file and the error message when an import fail is quite clear.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok removed

return 1

if __name__ == "__main__":
sys.exit(main())
Copy link
Member

Choose a reason for hiding this comment

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

Same remark as for check_deps, not sure we need this file.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok removed

# Set environment variables so Python can find the libraries
# Use generator expressions to get the actual library paths from targets
set_tests_properties(test_sparrow_integration PROPERTIES
ENVIRONMENT "TEST_SPARROW_HELPER_LIB_PATH=$<TARGET_FILE:test_sparrow_helper>;SPARROW_PYCAPSULE_LIB_PATH=$<TARGET_FILE:sparrow-pycapsule>"
Copy link
Member

Choose a reason for hiding this comment

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

I would prefer that we avoid using environment variables for testing, and use an approach similar to pybind11 instead. That can be done in a dedicated PR when we make this repo a real Python package though.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, let's do that in another PR

@JohanMabille JohanMabille merged commit 258be86 into QuantStack:main Nov 27, 2025
20 checks passed
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.

2 participants