Sign me up Login

Details about package python-hepunits

Name: python-hepunits
Uploader: Aryan Karamtoth <aryankmmiv@outlook.com> (Debian QA page)
Description: python3-hepunits - Units and constants in the HEP system of units

Package uploads

Upload #3

Information

Version: 2.3.6-1
Uploaded: 2025-07-10 05:12
Source package: python-hepunits_2.3.6-1.dsc
Distribution: unstable
Section: python
Priority: optional
Homepage: https://salsa.debian.org/SpaciousCoder78/python-hepunits
Vcs-Browser: https://salsa.debian.org/SpaciousCoder78/python-hepunits
Vcs-Git: https://salsa.debian.org/SpaciousCoder78/python-hepunits.git
Closes bugs: #1108844

Changelog

 python-hepunits (2.3.6-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1108844)

QA information

Comments

No comments

Upload #2

Information

Version: 2.3.6-1
Uploaded: 2025-07-10 04:27
Source package: python-hepunits_2.3.6-1.dsc
Distribution: unstable
Section: python
Priority: optional
Homepage: https://salsa.debian.org/SpaciousCoder78/python-hepunits
Vcs-Browser: https://salsa.debian.org/SpaciousCoder78/python-hepunits
Vcs-Git: https://salsa.debian.org/SpaciousCoder78/python-hepunits.git
Closes bugs: #1108844

Changelog

 python-hepunits (2.3.6-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1108844)

QA information

Comments

  1. P: python-hepunits source: trailing-whitespace [debian/control:28]
    N: 
    N:   This file contains lines with trailing whitespace characters.
    N:   
    N:   Whilst often harmless and unsightly, such extra whitespaces can also cause
    N:   tools to interpret the whitespace characters literally. The tool diff(1)
    N:   does not like them, either. They are best avoided.
    N:   
    N:   Some of these problems can be hard to track down.
    N:   
    N:   Whitespace at the end of lines may be removed with the following:
    N:   
    N:    $ sed -i -e 's@[[:space:]]*$@@g' debian/control debian/changelog
    N:   
    N:   If you use Emacs, you can also use "M-x wh-cl" (whitespace-cleanup).
    N:   
    N:   However, if you wish to only remove trailing spaces and leave trailing
    N:   tabs (eg. for Makefiles), you can use the following code snippet:
    N:   
    N:    $ sed -i -e 's@[ ]*$@@g' debian/rules
    N:   
    N:   To remove empty lines from the end of a file, you can use:
    N:   
    N:    $ sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' debian/rules
    N: 
    N:   Visibility: pedantic
    N:   Show-Always: no
    N:   Check: debian/trailing-whitespace
    N:   Renamed from: file-contains-trailing-whitespace
    Phil Wyett at July 10, 2025, 4:55 a.m.
  2. Thanks, I have made another upload fixing the trailing whitespaces in debian/control in upload#3
    Aryan Karamtoth at July 10, 2025, 5:18 a.m.

Upload #1

Information

Version: 2.3.6-1
Uploaded: 2025-07-10 03:27
Source package: python-hepunits_2.3.6-1.dsc
Distribution: unstable
Section: python
Priority: optional
Homepage: https://salsa.debian.org/SpaciousCoder78/python-hepunits
Vcs-Browser: https://salsa.debian.org/SpaciousCoder78/python-hepunits
Vcs-Git: https://salsa.debian.org/SpaciousCoder78/python-hepunits.git
Closes bugs: #1108844

Changelog

 python-hepunits (2.3.6-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1108844)

QA information

Comments

  1. Aryan,
    
    Review of upload: 2025-07-10 03:27
    
    For information about the tests run, see:
    
    https://wiki.debian.org/PhilWyett/DebianMentoring
    
    Note: If test line removed, it indicates a test pass.
    
    Test 3 (build twice): Information only
    
     dpkg-source -b .
    dpkg-source: info: using options from python-hepunits-2.3.6/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/
    dpkg-source: info: using source format '3.0 (quilt)'
    dpkg-source: info: building python-hepunits using existing ./python-hepunits_2.3.6.orig.tar.gz
    dpkg-source: info: local changes detected, the modified files are:
     python-hepunits-2.3.6/src/hepunits/_version.py
    dpkg-source: hint: make sure the version in debian/changelog matches the unpacked source tree
    dpkg-source: hint: you can integrate the local changes with dpkg-source --commit
    dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/python-hepunits_2.3.6-1.diff._3u2G3
    dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
    I: copying local configuration
    E: Failed autobuilding of package
    
    Test 4 (sbuild): Information only
    
    Lintian:
    
    Running lintian...
    N:
    P: python-hepunits source: trailing-whitespace [debian/control:28]
    N: 
    N:   This file contains lines with trailing whitespace characters.
    N:   
    N:   Whilst often harmless and unsightly, such extra whitespaces can also cause
    N:   tools to interpret the whitespace characters literally. The tool diff(1)
    N:   does not like them, either. They are best avoided.
    N:   
    N:   Some of these problems can be hard to track down.
    N:   
    N:   Whitespace at the end of lines may be removed with the following:
    N:   
    N:    $ sed -i -e 's@[[:space:]]*$@@g' debian/control debian/changelog
    N:   
    N:   If you use Emacs, you can also use "M-x wh-cl" (whitespace-cleanup).
    N:   
    N:   However, if you wish to only remove trailing spaces and leave trailing
    N:   tabs (eg. for Makefiles), you can use the following code snippet:
    N:   
    N:    $ sed -i -e 's@[ ]*$@@g' debian/rules
    N:   
    N:   To remove empty lines from the end of a file, you can use:
    N:   
    N:    $ sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' debian/rules
    N: 
    N:   Visibility: pedantic
    N:   Show-Always: no
    N:   Check: debian/trailing-whitespace
    N:   Renamed from: file-contains-trailing-whitespace
    N: 
    N:
    P: python-hepunits source: trailing-whitespace [debian/control:31]
    N:
    P: python-hepunits source: trailing-whitespace [debian/control:34]
    N:
    P: python-hepunits source: trailing-whitespace [debian/control:35]
    N:
    P: python-hepunits source: trailing-whitespace [debian/control:37]
    N:
    P: python-hepunits source: trailing-whitespace [debian/control:38]
    N:
    P: python-hepunits source: trailing-whitespace [debian/control:39]
    
    I: Lintian run was successful.
    
    Summary
    =======
    
    Looks promising. A few items above to to reviewed and corrected.
    
    Regards
    
    Phil
    Needs work Phil Wyett at July 10, 2025, 3:44 a.m.
  2. Hi, thanks for the review. I noticed that in test 3, it shows that there's changes in a file called _version.py but the file that's actually there in the source folder is _version.pyi and running dpkg-source --commit says there are no changes to commit.
    
    Also I'm adding a new line at the end of debian/control otherwise the lintian test in sbuild fails.
    Needs work Aryan Karamtoth at July 10, 2025, 3:57 a.m.
  3. Hi,
    
    The '_version.py' is a generated file that is not cleaned correctly for a double build.
    
    Easy fix:
    
    * Add file 'debian/clean'.
    * Add text 'src/hepunits/_version.py' into 'debian/clean'
    
    Regards
    
    Phil
    Phil Wyett at July 10, 2025, 4:11 a.m.
  4. Hi, thanks for the trick. I have made another upload containing the changes you suggested. I hope everything works fine now.
    
    Also if you have time can you also re-review my package python-googlesearch that you reviewed a few days ago? I have made changes to it.
    Needs work Aryan Karamtoth at July 10, 2025, 4:43 a.m.
  5. Hi,
    
    P: python-hepunits source: trailing-whitespace [debian/control:28]
    N: 
    N:   This file contains lines with trailing whitespace characters.
    N:   
    N:   Whilst often harmless and unsightly, such extra whitespaces can also cause
    N:   tools to interpret the whitespace characters literally. The tool diff(1)
    N:   does not like them, either. They are best avoided.
    N:   
    N:   Some of these problems can be hard to track down.
    N:   
    N:   Whitespace at the end of lines may be removed with the following:
    N:   
    N:    $ sed -i -e 's@[[:space:]]*$@@g' debian/control debian/changelog
    N:   
    N:   If you use Emacs, you can also use "M-x wh-cl" (whitespace-cleanup).
    N:   
    N:   However, if you wish to only remove trailing spaces and leave trailing
    N:   tabs (eg. for Makefiles), you can use the following code snippet:
    N:   
    N:    $ sed -i -e 's@[ ]*$@@g' debian/rules
    N:   
    N:   To remove empty lines from the end of a file, you can use:
    N:   
    N:    $ sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' debian/rules
    N: 
    N:   Visibility: pedantic
    N:   Show-Always: no
    N:   Check: debian/trailing-whitespace
    N:   Renamed from: file-contains-trailing-whitespace
    
    Regards
    
    Phil
    Needs work Phil Wyett at July 10, 2025, 4:55 a.m.