Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of github.com:hgrecco/pintHEADmaster | Hernan Grecco | 2023-05-16 | 1 | -0/+4 |
|\ | |||||
| * | Merge pull request #1782 from dopplershift/downstream-metpy | Hernan Grecco | 2023-05-16 | 1 | -0/+4 |
| |\ | | | | | | | Add MetPy to downstream status board | ||||
| | * | Add MetPy to downstream status board | Ryan May | 2023-05-16 | 1 | -0/+4 |
| | | | |||||
* | | | In docs, import TypeAlias from typing_extensions as docs are always built ↵ | Hernan Grecco | 2023-05-16 | 1 | -2/+2 |
|/ / | | | | | | | with the lowest Python version | ||||
* | | Fix import in docs | Hernan Grecco | 2023-05-16 | 1 | -1/+1 |
|/ | |||||
* | Missing empty line in doc | Hernan Grecco | 2023-05-16 | 1 | -0/+1 |
| | |||||
* | Improved documentation about extending the registry | Hernan Grecco | 2023-05-16 | 3 | -26/+58 |
| | |||||
* | Updated NumPy version in CHANGES | Hernan Grecco | 2023-05-15 | 1 | -0/+1 |
| | |||||
* | Preparing release 0.220.22rc1 | Hernan Grecco | 2023-05-15 | 2 | -3/+4 |
| | |||||
* | Python's 3.9 compatible typing annotations | Hernan Grecco | 2023-05-14 | 26 | -136/+167 |
| | |||||
* | Merge branch 'master' of github.com:hgrecco/pint | Hernan Grecco | 2023-05-12 | 1 | -2/+2 |
|\ | |||||
| * | Merge pull request #1777 from coroa/extend-upcast-type-names | Hernan Grecco | 2023-05-12 | 1 | -2/+2 |
| |\ | | | | | | | Extend upcast_type_names with fully qualified names | ||||
| | * | Fix upcast_type_names | Jonas Hoersch | 2023-05-12 | 1 | -2/+2 |
| | | | |||||
* | | | Updated readthedocs config | Hernan Grecco | 2023-05-12 | 1 | -2/+3 |
|/ / | |||||
* | | Mark xfail certain ↵ | Hernan Grecco | 2023-05-12 | 1 | -1/+5 |
| | | | | | | | | test_compat_downcast.py::test_array_quantity_creation_by_multiplication | ||||
* | | Add pint-pandas to downstream_status.md | Hernan Grecco | 2023-05-12 | 1 | -0/+5 |
|/ | |||||
* | Improved Downstream status page | Hernan Grecco | 2023-05-12 | 1 | -1/+1 |
| | |||||
* | Moved Pint downtream Projects | Hernan Grecco | 2023-05-12 | 1 | -0/+0 |
| | |||||
* | Started downstream status page | Hernan Grecco | 2023-05-12 | 1 | -0/+17 |
| | |||||
* | SharedObject module should be | Hernan Grecco | 2023-05-11 | 2 | -2/+2 |
| | |||||
* | Better SharedRegistryObjects creation | Hernan Grecco | 2023-05-11 | 4 | -7/+18 |
| | |||||
* | Remove unnecessary import in util | Hernan Grecco | 2023-05-11 | 1 | -2/+2 |
| | |||||
* | Fix imports for Python 3.9 | Hernan Grecco | 2023-05-11 | 3 | -5/+8 |
| | |||||
* | More typing improvements | Hernan Grecco | 2023-05-11 | 3 | -8/+9 |
| | |||||
* | Fix ruff fuck-up | Hernan Grecco | 2023-05-09 | 1 | -6/+7 |
| | |||||
* | Typing related fixes | Hernan Grecco | 2023-05-09 | 16 | -107/+77 |
| | |||||
* | Remove deprecated usage in docs and fix introduced bug during refactoring. | Hernan Grecco | 2023-05-05 | 2 | -8/+7 |
| | |||||
* | Remove conversion to string in DimensionalityError | Hernan Grecco | 2023-05-05 | 1 | -1/+1 |
| | |||||
* | Fixed Subscripted generics cannot be used with class and instance checks | Hernan Grecco | 2023-05-05 | 1 | -1/+1 |
| | |||||
* | Add typing_extensions | Hernan Grecco | 2023-05-05 | 1 | -0/+3 |
| | | | | | Python's typing is a moving target. This allows the project to serve the users better in terms of typing support. | ||||
* | Large commit to make Pint more typing friendly | Hernan Grecco | 2023-05-05 | 40 | -833/+1368 |
| | | | | | | | | | | | | | | | | | | | | | In this very large commit we tackle a few aspects of Pint that makes it difficult to do static typing. 1. Dynamic classes became static: Quantity and Unit are now (for the most part) static classes with a static inheritance. This allows mypy/pylance and other type checker to properly inspect them. 2. Added types through out all the code. (WIP) 3. Refactor minor parts of the code to make it more typing homogeneous. Catch a few potential bugs in the way. 4. Add several TODOs that need to be addressed in 0.23 5. Moved some group and system and context code out of the PlainRegistry 6. Moved certain specialized methods out of the PlainRegistry. | ||||
* | Fix 3.9 support. TypeAlias is supported in 3.10+ | Hernan Grecco | 2023-05-01 | 1 | -3/+6 |
| | |||||
* | Fix 3.9 support. Protocol do not support | | Hernan Grecco | 2023-05-01 | 1 | -2/+3 |
| | |||||
* | Merge changes to modernize code from 0.21 to 0.22 | Hernan Grecco | 2023-05-01 | 86 | -1038/+1377 |
|\ | | | | | | | See #1751 | ||||
| * | Run pyupgrade --py39-plus | Hernan Grecco | 2023-05-01 | 9 | -10/+14 |
| | | |||||
| * | Typing improvements | Hernan Grecco | 2023-05-01 | 33 | -490/+905 |
| | | | | | | | | | | | | | | | | | | | | | | While there is still a lot of work to do (mainly in Registry, Quantity, Unit), this large PR makes several changes all around the code. There has not been any intended functional change, but certain typing improvements required code minor code refactoring to streamline input and output types of functions. An important experimental idea is the PintScalar and PintArray protocols, and Magnitude type. This is to overcome the lack of a proper numerical hierarchy in Python. | ||||
| * | Tooling: remove bors and remove zest-releaser | Hernan Grecco | 2023-05-01 | 6 | -27/+28 |
| | | |||||
| * | Reworked the Quantity, Unit, Measurement, Group and System class to be ↵ | Hernan Grecco | 2023-04-30 | 17 | -89/+80 |
| | | | | | | | | static to ease with typing | ||||
| * | Run pyupgrade --py39-plus in all files except _vendor (again) | Hernan Grecco | 2023-04-29 | 6 | -11/+11 |
| | | |||||
| * | Run refurb --python-version 3.9 in code | Hernan Grecco | 2023-04-29 | 15 | -107/+101 |
| | | |||||
| * | Run refurb --python-version 3.9 in pint/testsuite | Hernan Grecco | 2023-04-29 | 16 | -65/+60 |
| | | |||||
| * | Run pyupgrade --py39-plus in all files except _vendor | Hernan Grecco | 2023-04-29 | 40 | -238/+208 |
| | | |||||
| * | Remove deprecated use_decimal | Hernan Grecco | 2023-04-29 | 3 | -39/+5 |
| | | |||||
| * | Apply NEP-29: Pint now requires Python 3.9+ and NumPy 1.21+ | Hernan Grecco | 2023-04-29 | 8 | -19/+16 |
| | | |||||
* | | Deleted version.py | Hernan Grecco | 2023-05-01 | 1 | -6/+0 |
| | | |||||
* | | Back to development: 0.22 | Hernan Grecco | 2023-05-01 | 2 | -1/+7 |
| | | |||||
* | | Preparing release 0.210.21 | Hernan Grecco | 2023-05-01 | 2 | -2/+2 |
| | | |||||
* | | Add zest releaser to setup.cfg | Hernan Grecco | 2023-05-01 | 1 | -0/+2 |
| | | |||||
* | | Improved MANIFEST.in | Hernan Grecco | 2023-05-01 | 1 | -3/+4 |
|/ | |||||
* | Merge pull request #1762 from jules-ch/fix-upcast-types | Jules Chéron | 2023-04-29 | 1 | -7/+7 |
|\ | | | | | fix(upcast): Fix upcast function |