Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-particle for openSUSE:Factory
checked in at 2021-05-23 23:30:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-particle (Old)
and /work/SRC/openSUSE:Factory/.python-particle.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-particle"
Sun May 23 23:30:50 2021 rev:8 rq:895054 version:0.15.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-particle/python-particle.changes
2021-05-10 15:40:43.221241659 +0200
+++
/work/SRC/openSUSE:Factory/.python-particle.new.2988/python-particle.changes
2021-05-23 23:31:01.972630699 +0200
@@ -1,0 +2,18 @@
+Sun May 23 00:20:47 UTC 2021 - Atri Bhattacharya <[email protected]>
+
+- Update to version 0.15.0:
+ * Particle class:
+ - Literals now defined for all particles in the loaded
+ "database" CSV file, excluding nuclei.
+ - Defined and/or fixed the programmatic names for diquarks and
+ SUSY particles.
+ * Data CSV files:
+ - Version 9 of package data files, with all antiparticle bars
+ done with \overline instead of \bar.
+ * Miscellaneous:
+ - Added latex_name_unicode() function to convert in particle
+ names in LaTeX all greek letters by their unicode.
+ - Added a .zenodo.json file to provide enhanced metadata for
+ Zenodo.
+
+-------------------------------------------------------------------
Old:
----
particle-0.14.1.tar.gz
New:
----
particle-0.15.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-particle.spec ++++++
--- /var/tmp/diff_new_pack.2axwi7/_old 2021-05-23 23:31:02.680627762 +0200
+++ /var/tmp/diff_new_pack.2axwi7/_new 2021-05-23 23:31:02.680627762 +0200
@@ -19,7 +19,7 @@
%global modname particle
%define skip_python2 1
Name: python-particle
-Version: 0.14.1
+Version: 0.15.0
Release: 0
Summary: PDG particle data and identification codes
License: BSD-3-Clause
++++++ _service ++++++
--- /var/tmp/diff_new_pack.2axwi7/_old 2021-05-23 23:31:02.716627613 +0200
+++ /var/tmp/diff_new_pack.2axwi7/_new 2021-05-23 23:31:02.716627613 +0200
@@ -2,7 +2,7 @@
<service name="tar_scm" mode="disabled">
<param
name="url">https://github.com/scikit-hep/particle.git</param>
<param name="scm">git</param>
- <param name="revision">v0.14.1</param>
+ <param name="revision">v0.15.0</param>
<param name="subdir">tests</param>
<param name="version">_none_</param>
<param name="filename">tests</param>
++++++ particle-0.14.1.tar.gz -> particle-0.15.0.tar.gz ++++++
++++ 4672 lines of diff (skipped)
++++++ tests.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tests/particle/test_utilities.py
new/tests/particle/test_utilities.py
--- old/tests/particle/test_utilities.py 2021-03-23 09:40:59.000000000
+0100
+++ new/tests/particle/test_utilities.py 2021-05-18 23:13:21.000000000
+0200
@@ -10,25 +10,9 @@
from particle import Particle
from particle.particle.utilities import programmatic_name
from particle.particle.utilities import str_with_unc
-from particle.shared_literals import common_particles
from particle.particle.particle import ParticleNotFound
-def test_programmatic_name():
- """
- Test makes sure that all literals defined in particle.shared_literals
- match what is returned by Particle.programmatic_name.
- """
- for literal_name, pid in common_particles.items():
- if literal_name in ("photon", "proton", "antiproton", "neutron",
"antineutron"):
- continue
- try: # some particles in the literals may not be in the table (e.g
the neutrinos as of 2018)
- p = Particle.from_pdgid(pid)
- assert Particle.from_pdgid(pid).programmatic_name == literal_name
- except ParticleNotFound:
- pass
-
-
possibilites = (
(1.234567, 0.01, None, u"1.235 ?? 0.010"),
(1.234567e-9, 0.01e-9, None, u"1.235e-09 ?? 1.0e-11"),