-
Notifications
You must be signed in to change notification settings - Fork 14
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
[patch] Use ImportAlarm from pyiron_snippets #1455
Changes from 5 commits
d0a1e69
1dc1cd7
58f1f64
8005fe2
7839866
40d20ce
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ on: | |
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ | |
from pyiron_base.storage.inputlist import InputList | ||
from pyiron_base.storage.parameters import GenericParameters | ||
from pyiron_base.utils.deprecate import Deprecator, deprecate, deprecate_soon | ||
from pyiron_base.utils.error import ImportAlarm | ||
from pyiron_base.jobs.job.extension.executable import Executable | ||
from pyiron_base.project.external import Notebook, load, dump | ||
from pyiron_base.jobs.dynamic import warn_dynamic_job_classes | ||
|
@@ -46,6 +45,9 @@ | |
|
||
from pyiron_base.jobs.job.toolkit import Toolkit, BaseTools | ||
|
||
# Expose snippets references in base API for backwards compatibility | ||
from pyiron_snippets.import_alarm import ImportAlarm | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I find this confusing - should not we do the major change and just enforce the switch to using the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I propose to leave this PR with the slightly-confusing-but-backwards-compatible redirection here, but I stacked an additional, compatibility breaking patch in #1458. I agree that this might be slightly confusing, but I don't think it's explicitly wrong. So what I'd like to do is get go through and approve each part of the stack individually, then we can merge the whole thing in at once. The mild confusingness will thus still exist at a particular commit, but not be included in any releases. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've converted this PR to a draft until we settle on a solution for the compatibility. |
||
|
||
# Internal init | ||
from ._version import get_versions | ||
from pyiron_base.utils.jedi import fix_ipython_autocomplete | ||
|
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because I wanted to make sure this PR passes unittests. With the branch specified like that, unit tests don't run on stacked PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's in the commit message: Run unittests on stacked PRs too