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

Remove poetry.lock file #366

Merged
merged 3 commits into from May 2, 2022
Merged

Remove poetry.lock file #366

merged 3 commits into from May 2, 2022

Conversation

cx1111
Copy link
Member

@cx1111 cx1111 commented Apr 28, 2022

Update scipy version in lock to 1.7.3: This should help to streamline development a bit more, since many of us main contributors are using M1 macs. I would like to be able to install the dependency versions in the lock file with a simple poetry install. scipy/scipy#13409

Remove poetry.lock file. https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control

It seems like the lock file isn't always suitable for library developers using multiple platforms, and is more useful for a deployed application on a consistent platform which requires exact pinned dependencies.

@cx1111 cx1111 changed the title Update scipy version in lock to 1.7.3 WIP: Update scipy version in lock to 1.7.3 Apr 28, 2022
@cx1111
Copy link
Member Author

cx1111 commented Apr 28, 2022

Fun, running into more issues when importing wfdb/pandas: ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

https://stackoverflow.com/questions/66060487/valueerror-numpy-ndarray-size-changed-may-indicate-binary-incompatibility-exp

@cx1111 cx1111 changed the title WIP: Update scipy version in lock to 1.7.3 Remove poetry.lock file Apr 29, 2022
@cx1111 cx1111 added the ready label Apr 29, 2022
Copy link
Member

@tompollard tompollard left a comment

Choose a reason for hiding this comment

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

Thanks Chen, looks good to me

- Documentation is provided. New functions and classes should have numpy/scipy style [docstrings](https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt).
- Unit tests are written for new features that are not covered by [existing tests](https://github.com/MIT-LCP/wfdb-python/tree/master/tests).
- The code style is consistent with the project's formating standards.
Copy link
Member

Choose a reason for hiding this comment

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

Typo in "formatting" and seems unrelated to PR topic but that's okay!

@cx1111 cx1111 merged commit 034c761 into master May 2, 2022
@cx1111 cx1111 deleted the cx/update-lock branch May 2, 2022 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants