-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Add es6-promise polyfill to webpack config #1765
Conversation
@blink1073 I see that moment and underscore are listed as both npm and bower dependencies so I figure that they can be removed from bower. However, removing them causes conflicts... How do I resolve conflicts when changing dependencies? |
What do you mean by conflicts, merge conflicts? That should only happen if you weren't basing your PR off of master. |
I'm actually not sure. You can see that "All checks have failed" and I'm seeing "This branch has conflicts that must be resolved". I created this branch from master, so I'm assuming that this is related to me changing the npm/bower dependencies? |
What I mean is that you probably did not have the latest commit from jupyter/notebook master as the basis of your PR, you probably need to fetch and rebase. |
495c5ae
to
222b4db
Compare
You're right, something weird happened... |
Travis is complaining that |
I think the significant error message is this bit:
Some files are not landing where the Python packaging machinery expects. The package_data is specified here: Line 133 in 179bb24
|
@@ -135,7 +135,6 @@ def find_package_data(): | |||
pjoin(components, "bootstrap", "js", "bootstrap.min.js"), | |||
pjoin(components, "bootstrap-tour", "build", "css", "bootstrap-tour.min.css"), | |||
pjoin(components, "bootstrap-tour", "build", "js", "bootstrap-tour.min.js"), | |||
pjoin(components, "es6-promise", "*.js"), |
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.
I don't know exactly where npm puts these files, but I suspect they should still be included in the tarball somehow...
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.
I just pushed a new commit that provides the npm paths to these libs.
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 still failing and I think it's because it's looking for these files before npm install
...
7dfbc68
to
9a4eb25
Compare
How can I resolve this |
It must have changed in master as well - fetch master from github, and then |
Oh, and once you've rebased you'll need to force push ( |
dcf4cf0
to
65d9c28
Compare
Ok I'm just going to forget about removing duplicate dependencies and maybe create an issue about it... |
9bcd580
to
7e3e9f3
Compare
@blink1073 I think this is ready to be merged... |
👍, I don't have push rights in this repo. |
@takluyver I think this ready to be merged! |
Implements #1754 (comment)