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

Importlib and hatch #240

Merged
merged 6 commits into from
Dec 7, 2024

Conversation

frank1010111
Copy link
Collaborator

Solves #233, going to pure pyproject.toml with a hatch build backend and hatch-vcs for versioning.

Also addresses the issue where pkg_resources doesn't exist, much like in this wellpathpy issue: Zabamund/wellpathpy#70

Not all unit tests pass, but I think that's from the backlog of issues, not introduction of new ones:

============================================================================================= short test summary info ==============================================================================================
FAILED tests/test_curve.py::test_basis_categorical - ValueError: could not convert string to float: 'sand'
FAILED tests/test_location.py::test_empty_location_td - Exception: Please provide an index.
FAILED tests/test_location.py::test_string_location_td - Exception: Please provide an index.
FAILED tests/test_location.py::test_numerical_location_td - Exception: Please provide an index.
FAILED tests/test_project.py::test_df - AttributeError: 'DataFrame' object has no attribute 'iteritems'. Did you mean: 'isetitem'?
FAILED tests/test_well.py::test_well - Exception: Please provide an index.
FAILED tests/test_well.py::test_well_write - Exception: Please provide an index.
FAILED tests/test_well.py::test_df - AttributeError: 'DataFrame' object has no attribute 'iteritems'. Did you mean: 'isetitem'?
============================================================================== 8 failed, 75 passed, 1580 warnings in 73.19s (0:01:13) ==============================================================================

@frank1010111 frank1010111 mentioned this pull request Nov 27, 2024
@frank1010111 frank1010111 merged commit 0277e0b into agilescientific:main Dec 7, 2024
0 of 5 checks passed
@frank1010111 frank1010111 deleted the importlib-and-hatch branch December 7, 2024 00:56
@frank1010111 frank1010111 mentioned this pull request Dec 7, 2024
3 tasks
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.

1 participant