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

FutureWarnings from oemof.network are showing #998

Closed
jokochems opened this issue Oct 14, 2023 · 3 comments
Closed

FutureWarnings from oemof.network are showing #998

jokochems opened this issue Oct 14, 2023 · 3 comments
Labels

Comments

@jokochems
Copy link
Member

When running a model using a current installation from a feature branch that is up to date with the dev branch, I get a lot of FutureWarnings from oemof.network saying that oemof.network.Component is deprecated and oemof.network.Node should be used instead.

I had a look into the code basis and saw that components such as a Source or a Sink are still derived from oemof.network.Component, not oemof.network.Node in the oemof.network version that is installed alongside with the dev version of solph.

I assume this is just a temporary issue due to ongoing development in oemof.network that will be fixed by updated dependencies soon. Am I right, @p-snft, and this is already on your list?

Here are the package versions
oemof.network: 0.5.0a5
oemof.solph: 0.5.2.dev1

@jokochems
Copy link
Member Author

A small addition: The same holds for oemof.network.Bus as well which should be replaced by oemof.network.Node.

@p-snft
Copy link
Member

p-snft commented Oct 16, 2023

This is fixed in #990, which is is waiting for a review from your sine. (That PR also fixes a lot of other deprecation warnings.)

@jokochems
Copy link
Member Author

Closed by #990

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants