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

Adjust imports deprecated in next 1.0.0 and core 0.18 #428

Merged
merged 4 commits into from
Jan 2, 2024
Merged

Conversation

mslw
Copy link
Contributor

@mslw mslw commented Jun 16, 2023

Changes imports of CredentialManager (from next) and eval_results to match their current locations. Closes #427

mslw added 2 commits June 16, 2023 13:53
…ucture"

This reverts commit 85c2305.

While in datalad_next 1.0.0b1 the credential manager had been placed
in datalad_next.utils (reflected by the commit being reverted),
1.0.0b2 elevated it to a top-level module. As of 1.0.0b3, importing
from utils is deprecated. See #427
The eval_results function has been moved from interface.utils to
interface.base in DataLad 0.18.0, and the previous usage is
deprecated. See datalad/datalad#7170 or
DataLad changelog.
@mslw
Copy link
Contributor Author

mslw commented Jun 16, 2023

Note: doc build error happens in GitHub CI but not in Read The Docs, and error message contains a solution which will be a one-liner update to config: https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping

Copy link
Member

@adswa adswa left a comment

Choose a reason for hiding this comment

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

This makes sense, especially since its already dependent on next 1.0.0x - thanks!

@codecov-commenter
Copy link

codecov-commenter commented Oct 5, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (efde469) 60.52% compared to head (75b362a) 60.54%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #428      +/-   ##
==========================================
+ Coverage   60.52%   60.54%   +0.01%     
==========================================
  Files          49       49              
  Lines        3511     3505       -6     
==========================================
- Hits         2125     2122       -3     
+ Misses       1386     1383       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@adswa
Copy link
Member

adswa commented Jan 2, 2024

I've restarted the Appveyor test, and gave it a very quick try and test run locally, and everything seems to work nicely. I'll merge this. :)

@adswa adswa merged commit 6d1ff77 into main Jan 2, 2024
8 checks passed
@adswa adswa deleted the import-adjust branch January 2, 2024 09:23
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.

Deprecation warnings for credman and eval_results
3 participants