vector 1.7.0__tar.gz → 1.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vector-1.7.0 → vector-1.8.0}/.github/workflows/cd.yml +3 -3
- {vector-1.7.0 → vector-1.8.0}/.github/workflows/ci.yml +9 -7
- {vector-1.7.0 → vector-1.8.0}/.github/workflows/notebooks.yml +1 -1
- {vector-1.7.0 → vector-1.8.0}/.pre-commit-config.yaml +3 -3
- {vector-1.7.0 → vector-1.8.0}/LICENSE +2 -1
- {vector-1.7.0 → vector-1.8.0}/PKG-INFO +5 -5
- {vector-1.7.0 → vector-1.8.0}/noxfile.py +15 -3
- {vector-1.7.0 → vector-1.8.0}/pyproject.toml +16 -9
- {vector-1.7.0 → vector-1.8.0}/src/vector/__init__.py +1 -1
- {vector-1.7.0/tests → vector-1.8.0/src/vector/_compute}/__init__.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/Et.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/Et2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/Mt.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/Mt2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/__init__.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/add.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/beta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/boostX_beta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/boostX_gamma.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/boostY_beta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/boostY_gamma.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/boostZ_beta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/boostZ_gamma.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/boost_beta3.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/boost_p4.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/deltaRapidityPhi.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/deltaRapidityPhi2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/dot.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/equal.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/gamma.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/is_lightlike.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/is_spacelike.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/is_timelike.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/isclose.py +9 -5
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/not_equal.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/rapidity.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/scale.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/subtract.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/t.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/t2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/tau.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/tau2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/to_beta3.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/transform4D.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/lorentz/unit.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/__init__.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/add.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/deltaphi.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/dot.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/equal.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/is_antiparallel.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/is_parallel.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/is_perpendicular.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/isclose.py +25 -5
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/not_equal.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/phi.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/rho.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/rho2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/rotateZ.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/scale.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/subtract.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/transform2D.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/unit.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/x.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/planar/y.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/__init__.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/add.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/costheta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/cottheta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/cross.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/deltaR.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/deltaR2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/deltaangle.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/deltaeta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/dot.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/equal.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/eta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/is_antiparallel.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/is_parallel.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/is_perpendicular.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/isclose.py +19 -19
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/mag.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/mag2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/not_equal.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/rotateX.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/rotateY.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/rotate_axis.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/rotate_euler.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/rotate_quaternion.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/scale.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/subtract.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/theta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/transform3D.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/unit.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_compute/spatial/z.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_methods.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_typeutils.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/_version.py +2 -2
- {vector-1.7.0 → vector-1.8.0}/src/vector/backends/__init__.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/backends/_numba.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/backends/_numba_object.py +1 -31
- {vector-1.7.0 → vector-1.8.0}/src/vector/backends/awkward.py +8 -8
- {vector-1.7.0 → vector-1.8.0}/src/vector/backends/awkward_constructors.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/backends/numba_numpy.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/src/vector/backends/numpy.py +57 -36
- {vector-1.7.0 → vector-1.8.0}/src/vector/backends/object.py +38 -19
- {vector-1.7.0 → vector-1.8.0}/src/vector/backends/sympy.py +40 -18
- {vector-1.7.0/src/vector/_compute → vector-1.8.0/tests}/__init__.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/backends/__init__.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/backends/test_awkward.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/backends/test_awkward_numba.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/backends/test_dask_awkward.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/backends/test_numba_numpy.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/backends/test_numba_object.py +58 -15
- {vector-1.7.0 → vector-1.8.0}/tests/backends/test_numpy.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/backends/test_object.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/backends/test_operators.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/backends/test_sympy.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/__init__.py +1 -1
- vector-1.8.0/tests/compute/lorentz/__init__.py +4 -0
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_Et.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_Et2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_Mt.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_Mt2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_beta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_boostX_beta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_boostX_gamma.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_boostY_beta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_boostY_gamma.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_boostZ_beta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_boostZ_gamma.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_boost_beta3.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_boost_p4.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_deltaRapidityPhi.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_deltaRapidityPhi2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_gamma.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_is_lightlike.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_rapidity.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_t.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_t2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_tau.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_tau2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_to_beta3.py +1 -1
- vector-1.8.0/tests/compute/planar/__init__.py +4 -0
- {vector-1.7.0 → vector-1.8.0}/tests/compute/planar/test_deltaphi.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/planar/test_phi.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/planar/test_rho.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/planar/test_rho2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/planar/test_rotateZ.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/planar/test_x.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/planar/test_y.py +1 -1
- vector-1.8.0/tests/compute/spatial/__init__.py +4 -0
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_costheta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_cottheta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_cross.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_deltaR.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_deltaR2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_deltaangle.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_deltaeta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_eta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_mag.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_mag2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_rotateX.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_rotateY.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_rotate_axis.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_rotate_euler.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_rotate_quaternion.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_theta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/spatial/test_z.py +1 -1
- vector-1.8.0/tests/compute/sympy/lorentz/__init__.py +4 -0
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_Et.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_Et2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_Mt.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_Mt2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_boostX_beta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_boostX_gamma.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_boostY_beta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_boostY_gamma.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_boostZ_beta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_boostZ_gamma.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_boost_beta3.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_boost_p4.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_deltaRapidityPhi.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_deltaRapidityPhi2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_is_lightlike.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_rapidity.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_t.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_t2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_tau.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_tau2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_to_beta3.py +1 -1
- vector-1.8.0/tests/compute/sympy/planar/__init__.py +4 -0
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/planar/test_deltaphi.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/planar/test_phi.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/planar/test_rho.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/planar/test_rho2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/planar/test_rotateZ.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/planar/test_x.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/planar/test_y.py +1 -1
- vector-1.8.0/tests/compute/sympy/spatial/__init__.py +4 -0
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_costheta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_cottheta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_cross.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_deltaR.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_deltaR2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_deltaangle.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_deltaeta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_eta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_mag.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_mag2.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_rotateX.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_rotateY.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_rotate_axis.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_rotate_euler.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_rotate_quaternion.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_theta.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/spatial/test_z.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/test_add.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/test_conversions.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/test_dot.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/test_equal.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/test_is_antiparallel.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/test_is_parallel.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/test_is_perpendicular.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/test_not_equal.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/test_scale.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/test_subtract.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/test_unit.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/test_add.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/test_conversions.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/test_dot.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/test_equal.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/test_is_antiparallel.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/test_is_parallel.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/test_is_perpendicular.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/test_isclose.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/test_not_equal.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/test_scale.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/test_subtract.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/compute/test_unit.py +1 -1
- {vector-1.7.0 → vector-1.8.0}/tests/test_issues.py +99 -1
- {vector-1.7.0 → vector-1.8.0}/tests/test_methods.py +1 -1
- vector-1.7.0/tests/compute/lorentz/__init__.py +0 -4
- vector-1.7.0/tests/compute/planar/__init__.py +0 -4
- vector-1.7.0/tests/compute/spatial/__init__.py +0 -4
- vector-1.7.0/tests/compute/sympy/lorentz/__init__.py +0 -4
- vector-1.7.0/tests/compute/sympy/planar/__init__.py +0 -4
- vector-1.7.0/tests/compute/sympy/spatial/__init__.py +0 -4
- {vector-1.7.0 → vector-1.8.0}/.all-contributorsrc +0 -0
- {vector-1.7.0 → vector-1.8.0}/.git_archival.txt +0 -0
- {vector-1.7.0 → vector-1.8.0}/.gitattributes +0 -0
- {vector-1.7.0 → vector-1.8.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {vector-1.7.0 → vector-1.8.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {vector-1.7.0 → vector-1.8.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {vector-1.7.0 → vector-1.8.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/.github/codecov.yml +0 -0
- {vector-1.7.0 → vector-1.8.0}/.github/dependabot.yml +0 -0
- {vector-1.7.0 → vector-1.8.0}/.github/matchers/pylint.json +0 -0
- {vector-1.7.0 → vector-1.8.0}/.gitignore +0 -0
- {vector-1.7.0 → vector-1.8.0}/.readthedocs.yml +0 -0
- {vector-1.7.0 → vector-1.8.0}/CITATION.cff +0 -0
- {vector-1.7.0 → vector-1.8.0}/CONTRIBUTING.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/README.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/Makefile +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/_images/LogoSrc.svg +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/_images/coordinate-systems.png +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/_images/coordinate-systems.svg +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/_images/vector-logo.png +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/_static/css/awkward_output.css +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/conf.py +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/index.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/make.bat +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/awkward.ipynb +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/common.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/make_awkward.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/make_numpy.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/make_object.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/make_sympy.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/momentum2d.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/momentum3d.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/momentum4d.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/numba.ipynb +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/numpy.ipynb +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/object.ipynb +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/pytree.ipynb +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/pytree_api.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/sympy.ipynb +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/talks.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/vector2d.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/vector3d.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/docs/src/vector4d.md +0 -0
- {vector-1.7.0 → vector-1.8.0}/environment.yml +0 -0
- {vector-1.7.0 → vector-1.8.0}/src/vector/_pytree.py +0 -0
- {vector-1.7.0 → vector-1.8.0}/src/vector/_version.pyi +0 -0
- {vector-1.7.0 → vector-1.8.0}/src/vector/py.typed +0 -0
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_is_spacelike.py +0 -0
- {vector-1.7.0 → vector-1.8.0}/tests/compute/lorentz/test_is_timelike.py +0 -0
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_beta.py +0 -0
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_gamma.py +0 -0
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_is_spacelike.py +0 -0
- {vector-1.7.0 → vector-1.8.0}/tests/compute/sympy/lorentz/test_is_timelike.py +0 -0
- {vector-1.7.0 → vector-1.8.0}/tests/samples/issue-161-v2.pkl +0 -0
- {vector-1.7.0 → vector-1.8.0}/tests/test_notebooks.py +0 -0
- {vector-1.7.0 → vector-1.8.0}/tests/test_pytree.py +0 -0
|
@@ -10,7 +10,7 @@ jobs:
|
|
|
10
10
|
dist:
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
13
|
+
- uses: actions/checkout@v6
|
|
14
14
|
with:
|
|
15
15
|
fetch-depth: 0
|
|
16
16
|
|
|
@@ -28,7 +28,7 @@ jobs:
|
|
|
28
28
|
attestations: write
|
|
29
29
|
|
|
30
30
|
steps:
|
|
31
|
-
- uses: actions/download-artifact@
|
|
31
|
+
- uses: actions/download-artifact@v7
|
|
32
32
|
with:
|
|
33
33
|
name: Packages
|
|
34
34
|
path: dist
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
run: ls -l dist/
|
|
38
38
|
|
|
39
39
|
- name: Generate artifact attestation for sdist and wheel
|
|
40
|
-
uses: actions/attest-build-provenance@
|
|
40
|
+
uses: actions/attest-build-provenance@96278af6caaf10aea03fd8d33a09a777ca52d62f # v3.2.0
|
|
41
41
|
with:
|
|
42
42
|
subject-path: "dist/vector-*"
|
|
43
43
|
|
|
@@ -24,7 +24,7 @@ jobs:
|
|
|
24
24
|
runs-on: ubuntu-latest
|
|
25
25
|
name: Check SDist
|
|
26
26
|
steps:
|
|
27
|
-
- uses: actions/checkout@
|
|
27
|
+
- uses: actions/checkout@v6
|
|
28
28
|
- uses: actions/setup-python@v6
|
|
29
29
|
with:
|
|
30
30
|
python-version: 3.x
|
|
@@ -38,14 +38,15 @@ jobs:
|
|
|
38
38
|
fail-fast: false
|
|
39
39
|
matrix:
|
|
40
40
|
python-version:
|
|
41
|
-
- "3.9"
|
|
42
41
|
- "3.10"
|
|
43
42
|
- "3.11"
|
|
44
43
|
- "3.12"
|
|
45
44
|
- "3.13"
|
|
45
|
+
- "3.14"
|
|
46
|
+
- "3.14t"
|
|
46
47
|
name: Python ${{ matrix.python-version }} - Lite
|
|
47
48
|
steps:
|
|
48
|
-
- uses: actions/checkout@
|
|
49
|
+
- uses: actions/checkout@v6
|
|
49
50
|
|
|
50
51
|
- uses: actions/setup-python@v6
|
|
51
52
|
with:
|
|
@@ -64,14 +65,15 @@ jobs:
|
|
|
64
65
|
fail-fast: false
|
|
65
66
|
matrix:
|
|
66
67
|
python-version:
|
|
67
|
-
- "3.9"
|
|
68
68
|
- "3.10"
|
|
69
69
|
- "3.11"
|
|
70
70
|
- "3.12"
|
|
71
71
|
- "3.13"
|
|
72
|
+
- "3.14"
|
|
73
|
+
- "3.14t"
|
|
72
74
|
name: Python ${{ matrix.python-version }} - Full
|
|
73
75
|
steps:
|
|
74
|
-
- uses: actions/checkout@
|
|
76
|
+
- uses: actions/checkout@v6
|
|
75
77
|
|
|
76
78
|
- uses: actions/setup-python@v6
|
|
77
79
|
with:
|
|
@@ -91,7 +93,7 @@ jobs:
|
|
|
91
93
|
run: nox -s coverage-${{ matrix.python-version }} --verbose
|
|
92
94
|
|
|
93
95
|
- name: Upload coverage report
|
|
94
|
-
uses: codecov/codecov-action@v5.5.
|
|
96
|
+
uses: codecov/codecov-action@v5.5.2
|
|
95
97
|
with:
|
|
96
98
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
97
99
|
|
|
@@ -104,7 +106,7 @@ jobs:
|
|
|
104
106
|
# root:
|
|
105
107
|
# runs-on: ubuntu-latest
|
|
106
108
|
# steps:
|
|
107
|
-
# - uses: actions/checkout@
|
|
109
|
+
# - uses: actions/checkout@v6
|
|
108
110
|
|
|
109
111
|
# - name: Get Conda
|
|
110
112
|
# uses: conda-incubator/setup-miniconda@v2
|
|
@@ -19,14 +19,14 @@ repos:
|
|
|
19
19
|
- id: trailing-whitespace
|
|
20
20
|
|
|
21
21
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
22
|
-
rev: "v0.14.
|
|
22
|
+
rev: "v0.14.14"
|
|
23
23
|
hooks:
|
|
24
24
|
- id: ruff-check
|
|
25
25
|
args: ["--fix", "--show-fixes"]
|
|
26
26
|
- id: ruff-format
|
|
27
27
|
|
|
28
28
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
29
|
-
rev: v1.
|
|
29
|
+
rev: v1.19.1
|
|
30
30
|
hooks:
|
|
31
31
|
- id: mypy
|
|
32
32
|
files: src
|
|
@@ -43,7 +43,7 @@ repos:
|
|
|
43
43
|
- id: codespell
|
|
44
44
|
|
|
45
45
|
- repo: https://github.com/rbubley/mirrors-prettier
|
|
46
|
-
rev: "v3.
|
|
46
|
+
rev: "v3.8.1"
|
|
47
47
|
hooks:
|
|
48
48
|
- id: prettier
|
|
49
49
|
types_or: [yaml, markdown, html, css, scss, javascript, json]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
BSD 3-Clause License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2019
|
|
3
|
+
Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues,
|
|
4
|
+
Jonas Eschle, and Jim Pivarski.
|
|
4
5
|
All rights reserved.
|
|
5
6
|
|
|
6
7
|
Redistribution and use in source and binary forms, with or without
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vector
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.0
|
|
4
4
|
Summary: Vector classes and utilities
|
|
5
5
|
Project-URL: Bug Tracker, https://github.com/scikit-hep/vector/issues
|
|
6
6
|
Project-URL: Changelog, https://vector.readthedocs.io/en/latest/changelog.html
|
|
7
7
|
Project-URL: Discussions, https://github.com/scikit-hep/vector/discussions
|
|
8
8
|
Project-URL: Documentation, https://vector.readthedocs.io/
|
|
9
9
|
Project-URL: Homepage, https://github.com/scikit-hep/vector
|
|
10
|
-
Author-email: "Jim Pivarski, Henry Schreiner, Eduardo Rodrigues" <eduardo.rodrigues@cern.ch>
|
|
10
|
+
Author-email: "Saransh Chopra, Jim Pivarski, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle" <eduardo.rodrigues@cern.ch>
|
|
11
11
|
Maintainer-email: The Scikit-HEP admins <scikit-hep-admins@googlegroups.com>
|
|
12
12
|
License-Expression: BSD-3-Clause
|
|
13
13
|
License-File: LICENSE
|
|
@@ -18,24 +18,24 @@ Classifier: Intended Audience :: Science/Research
|
|
|
18
18
|
Classifier: Operating System :: OS Independent
|
|
19
19
|
Classifier: Programming Language :: Python
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.10
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.11
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
27
27
|
Classifier: Topic :: Scientific/Engineering
|
|
28
28
|
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
29
29
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
30
30
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
31
31
|
Classifier: Typing :: Typed
|
|
32
|
-
Requires-Python: >=3.
|
|
32
|
+
Requires-Python: >=3.10
|
|
33
33
|
Requires-Dist: numpy>=1.19.3
|
|
34
34
|
Requires-Dist: packaging>=20
|
|
35
35
|
Provides-Extra: awkward
|
|
36
36
|
Requires-Dist: awkward>=2; extra == 'awkward'
|
|
37
37
|
Provides-Extra: numba
|
|
38
|
-
Requires-Dist: numba>=0.
|
|
38
|
+
Requires-Dist: numba>=0.62; (python_version < '3.15') and extra == 'numba'
|
|
39
39
|
Provides-Extra: sympy
|
|
40
40
|
Requires-Dist: sympy; extra == 'sympy'
|
|
41
41
|
Description-Content-Type: text/markdown
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
+
import os
|
|
10
|
+
import sys
|
|
11
|
+
import sysconfig
|
|
9
12
|
from pathlib import Path
|
|
10
13
|
|
|
11
14
|
import nox
|
|
@@ -16,6 +19,7 @@ nox.options.default_venv_backend = "uv|virtualenv"
|
|
|
16
19
|
DIR = Path(__file__).parent.resolve()
|
|
17
20
|
PYPROJECT = nox.project.load_toml(DIR / "pyproject.toml")
|
|
18
21
|
ALL_PYTHON = nox.project.python_versions(PYPROJECT)
|
|
22
|
+
ALL_PYTHON += ["3.14t"] # add free-threaded Python variant
|
|
19
23
|
|
|
20
24
|
|
|
21
25
|
@nox.session(reuse_venv=True)
|
|
@@ -44,7 +48,13 @@ def lite(session: nox.Session) -> None:
|
|
|
44
48
|
@nox.session(reuse_venv=True, python=ALL_PYTHON)
|
|
45
49
|
def tests(session: nox.Session) -> None:
|
|
46
50
|
"""Run the unit and regular tests."""
|
|
47
|
-
|
|
51
|
+
if sys.version_info[:2] >= (3, 14) and bool(
|
|
52
|
+
sysconfig.get_config_var("Py_GIL_DISABLED")
|
|
53
|
+
):
|
|
54
|
+
os.environ["PYTHON_GIL"] = "0"
|
|
55
|
+
test_deps = nox.project.dependency_groups(PYPROJECT, "test-all-no-gil")
|
|
56
|
+
else:
|
|
57
|
+
test_deps = nox.project.dependency_groups(PYPROJECT, "test-all-gil")
|
|
48
58
|
session.install("-e.", *test_deps)
|
|
49
59
|
session.run(
|
|
50
60
|
"pytest",
|
|
@@ -64,7 +74,7 @@ def coverage(session: nox.Session) -> None:
|
|
|
64
74
|
@nox.session(reuse_venv=True, python=ALL_PYTHON)
|
|
65
75
|
def doctests(session: nox.Session) -> None:
|
|
66
76
|
"""Run the doctests."""
|
|
67
|
-
test_deps = nox.project.dependency_groups(PYPROJECT, "test-all")
|
|
77
|
+
test_deps = nox.project.dependency_groups(PYPROJECT, "test-all-gil")
|
|
68
78
|
session.install("-e.", *test_deps)
|
|
69
79
|
session.run("pytest", "--doctest-plus", "src/vector/", *session.posargs)
|
|
70
80
|
|
|
@@ -72,7 +82,9 @@ def doctests(session: nox.Session) -> None:
|
|
|
72
82
|
@nox.session(reuse_venv=True, default=False)
|
|
73
83
|
def notebooks(session: nox.Session) -> None:
|
|
74
84
|
"""Run the notebook tests"""
|
|
75
|
-
test_deps = nox.project.dependency_groups(
|
|
85
|
+
test_deps = nox.project.dependency_groups(
|
|
86
|
+
PYPROJECT, "test", "test-optional", "test-numba"
|
|
87
|
+
)
|
|
76
88
|
session.install("-e.", *test_deps)
|
|
77
89
|
session.install("jupyter")
|
|
78
90
|
session.run("pytest", "tests/test_notebooks.py", *session.posargs)
|
|
@@ -17,9 +17,9 @@ maintainers = [
|
|
|
17
17
|
{ name = "The Scikit-HEP admins", email = "scikit-hep-admins@googlegroups.com" },
|
|
18
18
|
]
|
|
19
19
|
authors = [
|
|
20
|
-
{ name = "Jim Pivarski, Henry Schreiner, Eduardo Rodrigues", email = "eduardo.rodrigues@cern.ch" },
|
|
20
|
+
{ name = "Saransh Chopra, Jim Pivarski, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle", email = "eduardo.rodrigues@cern.ch" },
|
|
21
21
|
]
|
|
22
|
-
requires-python = ">=3.
|
|
22
|
+
requires-python = ">=3.10"
|
|
23
23
|
classifiers = [
|
|
24
24
|
"Development Status :: 5 - Production/Stable",
|
|
25
25
|
"Intended Audience :: Developers",
|
|
@@ -27,12 +27,12 @@ classifiers = [
|
|
|
27
27
|
"Operating System :: OS Independent",
|
|
28
28
|
"Programming Language :: Python",
|
|
29
29
|
"Programming Language :: Python :: 3 :: Only",
|
|
30
|
-
"Programming Language :: Python :: 3.9",
|
|
31
30
|
"Programming Language :: Python :: 3.10",
|
|
32
31
|
"Programming Language :: Python :: 3.11",
|
|
33
32
|
"Programming Language :: Python :: 3.12",
|
|
34
33
|
"Programming Language :: Python :: 3.13",
|
|
35
34
|
"Programming Language :: Python :: 3.14",
|
|
35
|
+
"Programming Language :: Python :: Free Threading :: 3 - Stable",
|
|
36
36
|
"Topic :: Scientific/Engineering",
|
|
37
37
|
"Topic :: Scientific/Engineering :: Information Analysis",
|
|
38
38
|
"Topic :: Scientific/Engineering :: Mathematics",
|
|
@@ -49,7 +49,7 @@ dependencies = [
|
|
|
49
49
|
|
|
50
50
|
[project.optional-dependencies]
|
|
51
51
|
awkward = ["awkward>=2"]
|
|
52
|
-
numba = ["numba>=0.
|
|
52
|
+
numba = ["numba>=0.62; python_version<'3.15'"]
|
|
53
53
|
sympy = ["sympy"]
|
|
54
54
|
|
|
55
55
|
[project.urls]
|
|
@@ -72,9 +72,11 @@ test = [
|
|
|
72
72
|
]
|
|
73
73
|
test-optional = [
|
|
74
74
|
"awkward>=2",
|
|
75
|
-
"numba>=0.57; python_version<'3.14'",
|
|
76
75
|
"sympy",
|
|
77
76
|
]
|
|
77
|
+
test-numba = [
|
|
78
|
+
"numba>=0.57; python_version<'3.15'",
|
|
79
|
+
]
|
|
78
80
|
test-extras = [
|
|
79
81
|
"jax",
|
|
80
82
|
"dask_awkward",
|
|
@@ -94,14 +96,19 @@ docs = [
|
|
|
94
96
|
"hepunits",
|
|
95
97
|
"matplotlib",
|
|
96
98
|
]
|
|
97
|
-
test-all = [
|
|
99
|
+
test-all-no-gil = [
|
|
98
100
|
{ include-group = "test"},
|
|
99
101
|
{ include-group = "test-optional"},
|
|
100
102
|
{ include-group = "test-extras"},
|
|
101
103
|
]
|
|
104
|
+
test-all-gil = [
|
|
105
|
+
{ include-group = "test-all-no-gil"},
|
|
106
|
+
{ include-group = "test-numba"},
|
|
107
|
+
]
|
|
102
108
|
dev = [
|
|
103
109
|
{ include-group = "test"},
|
|
104
110
|
{ include-group = "test-optional"},
|
|
111
|
+
{ include-group = "test-numba"},
|
|
105
112
|
]
|
|
106
113
|
|
|
107
114
|
[tool.hatch]
|
|
@@ -173,7 +180,7 @@ isort.required-imports = [
|
|
|
173
180
|
]
|
|
174
181
|
|
|
175
182
|
[tool.pylint]
|
|
176
|
-
master.py-version = "3.
|
|
183
|
+
master.py-version = "3.10"
|
|
177
184
|
reports.output-format = "colorized"
|
|
178
185
|
similarities.ignore-imports = "yes"
|
|
179
186
|
master.jobs = "0"
|
|
@@ -251,7 +258,7 @@ markers = [
|
|
|
251
258
|
"awkward",
|
|
252
259
|
"sympy",
|
|
253
260
|
]
|
|
254
|
-
|
|
261
|
+
log_level = "DEBUG"
|
|
255
262
|
filterwarnings = [
|
|
256
263
|
"error",
|
|
257
264
|
"ignore::DeprecationWarning",
|
|
@@ -262,7 +269,7 @@ filterwarnings = [
|
|
|
262
269
|
files = [
|
|
263
270
|
"src/vector",
|
|
264
271
|
]
|
|
265
|
-
python_version = "3.
|
|
272
|
+
python_version = "3.10"
|
|
266
273
|
strict = true
|
|
267
274
|
warn_return_any = false
|
|
268
275
|
enable_error_code = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -127,7 +127,11 @@ def make_conversion(
|
|
|
127
127
|
coord24,
|
|
128
128
|
):
|
|
129
129
|
return lib.isclose(
|
|
130
|
-
coord14,
|
|
130
|
+
coord14,
|
|
131
|
+
coord24,
|
|
132
|
+
rtol=rtol,
|
|
133
|
+
atol=atol,
|
|
134
|
+
equal_nan=equal_nan,
|
|
131
135
|
) & spatial_isclose(
|
|
132
136
|
lib,
|
|
133
137
|
rtol,
|
|
@@ -160,9 +164,9 @@ def make_conversion(
|
|
|
160
164
|
return lib.isclose(
|
|
161
165
|
to_t1(lib, coord11, coord12, coord13, coord14),
|
|
162
166
|
to_t2(lib, coord21, coord22, coord23, coord24),
|
|
163
|
-
rtol,
|
|
164
|
-
atol,
|
|
165
|
-
equal_nan,
|
|
167
|
+
rtol=rtol,
|
|
168
|
+
atol=atol,
|
|
169
|
+
equal_nan=equal_nan,
|
|
166
170
|
) & spatial_isclose(
|
|
167
171
|
lib,
|
|
168
172
|
rtol,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2019
|
|
1
|
+
# Copyright (c) 2019, Saransh Chopra, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle, and Jim Pivarski.
|
|
2
2
|
#
|
|
3
3
|
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
|
|
4
4
|
# or https://github.com/scikit-hep/vector for details.
|