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

Import pandas through pyomo.common.dependencies #3102

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

jsiirola
Copy link
Member

Fixes # .

Summary/Motivation:

This updates examples to import pandas through pyomo.common.dependencies.

This change was motivated by a deprecation warning that pandas emits upon import that was breaking the Pyomo package layout tests.

Changes proposed in this PR:

  • Import pandas through pyomo.common.dependencies and not directly

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@michaelbynum
Copy link
Contributor

Looks like pyros tests are failing.

@mrmundt
Copy link
Contributor

mrmundt commented Jan 23, 2024

Looks like pyros tests are failing.

They are failing on both this and #3102 , and those two don't appear to have anything in common. I am running a different test on Jenkins to see if this is just in main now somehow.

@michaelbynum
Copy link
Contributor

Thanks, @mrmundt. I'm guessing there is some subsolver issue, but I can't tell from the logs.

@mrmundt mrmundt merged commit 6638839 into Pyomo:main Jan 23, 2024
30 of 31 checks passed
@jsiirola jsiirola deleted the pandas-dep branch January 24, 2024 03:10
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