[Pkg-privacy-commits] [Git][pkg-privacy-team/mat2][master] 4 commits: New upstream version 0.13.3

Georg Faerber (@georg) georg at debian.org
Sun Feb 26 12:06:56 GMT 2023



Georg Faerber pushed to branch master at Privacy Maintainers / mat2


Commits:
b6127652 by Georg Faerber at 2023-02-26T10:14:55+00:00
New upstream version 0.13.3
- - - - -
08f4f863 by Georg Faerber at 2023-02-26T10:15:04+00:00
Update upstream source from tag 'upstream/0.13.3'

Update to upstream version '0.13.3'
with Debian dir c1f9029eac60e12ad8ec3a4a43d652838349b7a8
- - - - -
e9021e4c by Georg Faerber at 2023-02-26T11:47:27+00:00
debian/patches: Add patch to include version in pyproject file

- - - - -
e77eb7bb by Georg Faerber at 2023-02-26T11:47:27+00:00
debian/changelog: Debian release 0.13.3-1

- - - - -


12 changed files:

- .gitlab-ci.yml
- CHANGELOG.md
- debian/changelog
- + debian/patches/0001-pyproject-include-version.patch
- + debian/patches/series
- doc/mat2.1
- libmat2/bubblewrap.py
- libmat2/exiftool.py
- libmat2/video.py
- mat2
- + pyproject.toml
- setup.py


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -1,6 +1,3 @@
-include:
-  - template: Security/SAST.gitlab-ci.yml
-
 variables:
   CONTAINER_REGISTRY: $CI_REGISTRY/georg/mat2-ci-images
 
@@ -12,28 +9,16 @@ stages:
   before_script:  # This is needed to not run the testsuite as root
     - useradd --home-dir ${CI_PROJECT_DIR} mat2
     - chown -R mat2 .
-
-linting:bandit:
-  image: $CONTAINER_REGISTRY:linting 
-  stage: linting
-  script:  # TODO: remove B405 and B314
-    - bandit ./mat2 --format txt --skip B101
-    - bandit -r ./libmat2 --format txt --skip B101,B404,B603,B405,B314,B108,B311
-
-linting:codespell:
-  image: $CONTAINER_REGISTRY:linting
-  stage: linting
-  script:
-    # Run codespell to check for spelling errors; ignore errors about binary
-    # files, use a config with ignored words and exclude the git directory,
-    # which might contain false positives
-    - codespell -q 2 -I utils/ci/codespell/ignored_words.txt -S .git
   
-linting:pylint:
-  image: $CONTAINER_REGISTRY:linting
+linting:ruff:
   stage: linting
   script:
-    - pylint --disable=no-else-return,no-else-raise,no-else-continue,unnecessary-comprehension,raise-missing-from,unsubscriptable-object,use-dict-literal,unspecified-encoding,consider-using-f-string,use-list-literal,too-many-statements --extension-pkg-whitelist=cairo,gi ./libmat2 ./mat2
+    - apt update
+    - apt install -qqy --no-install-recommends python3-venv
+    - python3 -m venv venv
+    - source venv/bin/activate
+    - pip3 install ruff
+    - ruff check .
 
 linting:mypy:
   image: $CONTAINER_REGISTRY:linting


=====================================
CHANGELOG.md
=====================================
@@ -1,3 +1,7 @@
+# 0.13.3 - 2023-02-23
+
+- Fix a decorator argument
+
 # 0.13.2 - 2023-01-28
 
 - Fix a crash on some python versions


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+mat2 (0.13.3-1) unstable; urgency=medium
+
+  * New upstream version 0.13.3.
+  * debian/patches:
+    - Add patch to add version information to pyproject file.
+
+ -- Georg Faerber <georg at debian.org>  Sun, 26 Feb 2023 11:46:33 +0000
+
 mat2 (0.13.2-1) unstable; urgency=medium
 
   * New upstream version 0.13.2.


=====================================
debian/patches/0001-pyproject-include-version.patch
=====================================
@@ -0,0 +1,11 @@
+Index: mat2/pyproject.toml
+===================================================================
+--- mat2.orig/pyproject.toml	2023-02-26 10:15:04.487282755 +0000
++++ mat2/pyproject.toml	2023-02-26 11:46:02.666423189 +0000
+@@ -1,5 +1,6 @@
+ [project]
+ name = "mat"
++version = "0.13.3"
+ readme = "README.md"
+ requires-python = ">=3.9"
+ 


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+0001-pyproject-include-version.patch


=====================================
doc/mat2.1
=====================================
@@ -1,4 +1,4 @@
-.TH mat2 "1" "January 2023" "mat2 0.13.2" "User Commands"
+.TH mat2 "1" "February 2023" "mat2 0.13.3" "User Commands"
 
 .SH NAME
 mat2 \- the metadata anonymisation toolkit 2


=====================================
libmat2/bubblewrap.py
=====================================
@@ -22,7 +22,7 @@ CalledProcessError = subprocess.CalledProcessError
 # pylint: disable=subprocess-run-check
 
 
- at functools.lru_cache
+ at functools.lru_cache(maxsize=None)
 def _get_bwrap_path() -> str:
     which_path = shutil.which('bwrap')
     if which_path:


=====================================
libmat2/exiftool.py
=====================================
@@ -67,7 +67,7 @@ class ExiftoolParser(abstract.AbstractParser):
             return False
         return True
 
- at functools.lru_cache
+ at functools.lru_cache(maxsize=None)
 def _get_exiftool_path() -> str:  # pragma: no cover
     which_path = shutil.which('exiftool')
     if which_path:


=====================================
libmat2/video.py
=====================================
@@ -135,7 +135,7 @@ class MP4Parser(AbstractFFmpegParser):
     }
 
 
- at functools.lru_cache()
+ at functools.lru_cache(maxsize=None)
 def _get_ffmpeg_path() -> str:  # pragma: no cover
     which_path = shutil.which('ffmpeg')
     if which_path:


=====================================
mat2
=====================================
@@ -17,7 +17,7 @@ except ValueError as ex:
     print(ex)
     sys.exit(1)
 
-__version__ = '0.13.2'
+__version__ = '0.13.3'
 
 logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.WARNING)
 


=====================================
pyproject.toml
=====================================
@@ -0,0 +1,9 @@
+[project]
+name = "mat"
+readme = "README.md"
+requires-python = ">=3.9"
+
+[tool.ruff]
+target-version = "py39"
+# E501 Line too long
+ignore = ["E501", "F401", "E402", "E722"]


=====================================
setup.py
=====================================
@@ -5,7 +5,7 @@ with open("README.md", encoding='utf-8') as fh:
 
 setuptools.setup(
     name="mat2",
-    version='0.13.2',
+    version='0.13.3',
     author="Julien (jvoisin) Voisin",
     author_email="julien.voisin+mat2 at dustri.org",
     description="A handy tool to trash your metadata",



View it on GitLab: https://salsa.debian.org/pkg-privacy-team/mat2/-/compare/f4e7e7fe9b68f5b2d55c95c0927f6c8906bb5124...e77eb7bb69f91c3683a51b90b22b42b016340ab1

-- 
View it on GitLab: https://salsa.debian.org/pkg-privacy-team/mat2/-/compare/f4e7e7fe9b68f5b2d55c95c0927f6c8906bb5124...e77eb7bb69f91c3683a51b90b22b42b016340ab1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-commits/attachments/20230226/53f52f65/attachment-0001.htm>


More information about the Pkg-privacy-commits mailing list