BAMWelDX / weldx

The welding data exchange format
https://www.bam.de/weldx
BSD 3-Clause "New" or "Revised" License
20 stars 10 forks source link

pint-0.20 moved classes Unit and Quantity #819

Closed marscher closed 1 year ago

marscher commented 1 year ago

This is a blocker for asdf serialization. We need to update the types list in the converter. The import "from pint import Unit, Quantity" still works though. But for the type annotation "pint.Quantity" or "pint.Unit" Sphinx is not able to resolve this.

Intermediate fix for released conda-forge version: https://github.com/conda-forge/weldx-feedstock/pull/20

xref: https://github.com/hgrecco/pint/issues/1631