Skip to content

Conversation

@MattBurn
Copy link
Contributor

@MattBurn MattBurn commented Feb 3, 2025

numpy.compat has been deprecated in numpy 2 and will be released in future versions. To prevent this from breaking ParmEd, asbytes and asstr have been implemented in place in the parmed/utls/netcdf.py file.

@vedranmiletic
Copy link
Contributor

I just stumbled upon this same issue as ParmEd in AmberTools broke after NumPy upgrade in Arch Linux. I am glad to report that this patch solves the issue.

Why is the change not passing the CI pipelines?

@MattBurn
Copy link
Contributor Author

Not sure looking into this now

@MattBurn
Copy link
Contributor Author

MattBurn commented Jun 17, 2025

The tests were failing on my local machine due to issues with downloading from the RCSB FTP site. RCSB deprecated the FTP protocol as of 2024-11-01 as discussed here.

I have created a new issue 1408 to discuss the move from FTP to HTTP/S.

I have updated the calls to ftplib and the old RCSB FTP domain to urllib as per the recommendation from the RCSB.

There was also a single test (test/test_parmed_genopen.py::TestGenopen::test_read_ftp_URL) which tests the calls to the FPT site directly. This test is no longer possible so I have tagged it to always skip this test citing the RCSB reference as a reason.

@MattBurn
Copy link
Contributor Author

Hopefully these changes can now be merged.

@MattBurn MattBurn mentioned this pull request Jun 18, 2025
@MattBurn
Copy link
Contributor Author

Should resolve ParmEd/ParmEd !1406

Copy link
Contributor

@swails swails left a comment

Choose a reason for hiding this comment

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

Thanks!

@swails swails merged commit 9fa8b08 into ParmEd:master Jun 18, 2025
3 checks passed
@mikemhenry
Copy link
Contributor

@swails any chance we can get a new release so we can build a conda-forge pacakge with this fix?

timpalpant pushed a commit to timpalpant/ParmEd that referenced this pull request Nov 21, 2025
timpalpant pushed a commit to timpalpant/ParmEd that referenced this pull request Nov 21, 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.

4 participants