Skip to content

Loosen requests lower pin, fix pre-commit errors #4469

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

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

DanielYang59
Copy link
Contributor

@DanielYang59 DanielYang59 commented Aug 1, 2025

Summary

  • Loosen requests upper pin, current pin seems too strict and might cause unresolvable dependency
  • Fix a few deprecation warnings
  • Fix some new ruff errors from pre-commit

@DanielYang59 DanielYang59 changed the title Loosen requests upper pin Loosen requests lower pin Aug 1, 2025
/Users/yang/developer/pmg/tests/analysis/test_interface_reactions.py:367:
DeprecationWarning: Arrays of 2-dimensional vectors are deprecated. Use
arrays of 3-dimensional vectors instead. (deprecated in NumPy 2.0)
    positions = [np.cross(v1, v2) for v1, v2 in relative_vectors]
/Users/yang/developer/pmg/src/pymatgen/core/tensors.py:292:
DeprecationWarning: __array_wrap__ must accept context and return_scalar
arguments (positionally) in the future. (Deprecated NumPy 2.0)
src/pymatgen/io/jdftx/outputs.py:328:45: SyntaxError: Cannot use star
expression in index on Python 3.10 (syntax was added in Python 3.11)
@DanielYang59 DanielYang59 changed the title Loosen requests lower pin Loosen requests lower pin, fix some pre-commit errors Aug 1, 2025
@DanielYang59 DanielYang59 marked this pull request as ready for review August 1, 2025 22:48
@DanielYang59 DanielYang59 requested a review from shyuep as a code owner August 1, 2025 22:49
@DanielYang59 DanielYang59 requested a review from mkhorton as a code owner August 1, 2025 22:49
@DanielYang59 DanielYang59 changed the title Loosen requests lower pin, fix some pre-commit errors Loosen requests lower pin, fix pre-commit errors Aug 14, 2025
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