Skip to content

Fix imports for all namespace packages #2506

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

Merged
merged 3 commits into from
Sep 28, 2020

Conversation

dhruvmanila
Copy link
Member

As mentioned in #2503

Describe your change:

  • Fix a bug or typo in an existing algorithm?

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
  • If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

@TravisBuddy
Copy link

Hey @dhruvmanila,
Something went wrong with the build.

TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.

View build log

TravisBuddy Request Identifier: e4d88bf0-01b4-11eb-9be6-0d9634a5fbe7

@dhruvmanila
Copy link
Member Author

Ok, some of the doctest are failing due to the change of paths.
@cclauss Should I fix it?

@cclauss
Copy link
Member

cclauss commented Sep 28, 2020

Yes, please

@TravisBuddy
Copy link

Travis tests have failed

Hey @dhruvmanila,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: 38645890-01b9-11eb-9be6-0d9634a5fbe7

@dhruvmanila
Copy link
Member Author

It seems like there's a doctest which is actually failing?
Can you take a look at it? https://travis-ci.com/github/TheAlgorithms/Python/jobs/392149978#L1300
@cclauss

@dhruvmanila
Copy link
Member Author

Weird, it's passing when I run it locally.

@dhruvmanila
Copy link
Member Author

Can you rerun the build? @cclauss

Copy link
Member

@cclauss cclauss left a comment

Choose a reason for hiding this comment

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

THANKS!!

@cclauss cclauss merged commit 9016fe1 into TheAlgorithms:master Sep 28, 2020
@cclauss
Copy link
Member

cclauss commented Sep 28, 2020

Travis is being flakey lately.

@dhruvmanila dhruvmanila deleted the patch-imports branch September 29, 2020 01:35
stokhos pushed a commit to stokhos/Python that referenced this pull request Jan 3, 2021
* Fix imports as they're namespace packages

* Fix import for scripts/validate_filenames.py

* Fix path in doctest
Panquesito7 pushed a commit to Panquesito7/Python that referenced this pull request May 13, 2021
* Fix imports as they're namespace packages

* Fix import for scripts/validate_filenames.py

* Fix path in doctest
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.

3 participants