-
Notifications
You must be signed in to change notification settings - Fork 120
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
ansys-api-mapdl requires protobuf<5 #3446
Comments
FYI, the error we get for
|
I think there was an issue with latest 5.2X.X regarding printing a warning.... appart of that. I am not aware of any big issues. I could give it a go in the next few weeks... unless this is super urgent. |
Hey @germa89 I am about to merge this ansys/pydpf-core#1783, which does break the installation of pydpf-core along with pymapdl, thus breaking pyansys, but at least gives an understandable error. |
Hey @jorgepiloto @RobPasMue any advice on how to deal with this? |
We can increase the limit to be <6 on the api-mapdl package if necessary. But the main problem @PProfizi is that setting I would comment this tomorrow on the dev meeting for a larger discussion. This impacts the entire ecosystem, not only PyDPF and PyMAPDL |
That was for which version to build the API packages with, not the run-time version. That version determines the lowest-supported version. But yes, requiring And it would also mean that PyDPF cannot run with the Python + packages version shipped with the unified install, which might actually be a concern in this case. For the time being, I would suggest to keep support for 4.X, in this case probably by making (if possible) the |
Alright, thanks @greschd @RobPasMue |
Yes, I would recommend using the same versioning scheme for building the API module as used in the |
Thank you a lot guys @greschd @RobPasMue @PProfizi |
I am not closing this issue because eventually we might need to check compatibility with protobuf > 5. But we are not in a rush anymore. |
Yeah, upgrading to <6 is fine in any case I'd say |
🤓 Before submitting the issue
pip install --upgrade --upgrade-strategy eager ansys-mapdl-core
in your activated virtual environment.🔍 Description of the bug
Hi all, I am raising this issue as we realized while doing integration tests that we have an issue in requirements between
ansys-dpf-core
andansys-api-mapdl
as can be seen here:We have put a minimal requirement of
protobuf>=5.27.0
foransys-dpf-core
due to issues with previous versions, namely due to the new file expectedgoogle.protobuf.runtime_version.py
.I wanted to know if there is any reason to limit
ansys-api-mapdl
toprotobuf<5
, so I know where the fix needs to be made.Thanks
🕵️ Steps To Reproduce
💻 Which Operating System are you using?
Windows
🐍 Which Python version are you using?
3.10
💾 Which MAPDL version are you using?
latest dev
📝 PyMAPDL Report
Show the Report!
📝 Installed packages
Show the installed packages!
📝 Logger output file
Show the logger output file.
The text was updated successfully, but these errors were encountered: