Skip to content

Commit b0d69f5

Browse files
authored
Merge pull request #34 from achimoraites/fix/CVE-2024-28219
fix: CVE-2024-28219
2 parents c642a01 + d8594d8 commit b0d69f5

File tree

5 files changed

+31
-8
lines changed

5 files changed

+31
-8
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Python
2626
uses: actions/setup-python@v3
2727
with:
28-
python-version: '3.x'
28+
python-version: '3.10'
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install --upgrade pip

.github/workflows/tests.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Tests
2+
3+
on:
4+
pull_request:
5+
branches: ["master"]
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Set up Python
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: "3.10"
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install pytest
21+
pip install -r requirements.txt
22+
- name: Run pytest
23+
run: python -m pytest

raw_image_converter/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
"""
66

77
# Version of the package
8-
__version__ = "1.1.1"
8+
__version__ = "1.1.2"

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
imageio==2.16.2
2-
Pillow==10.0.1
3-
rawpy==0.17.1
4-
numpy==1.22.3
2+
Pillow==10.3.0
3+
rawpy==0.19.1
4+
numpy==1.26.4
55
colorama==0.4.6

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# This call to setup() does all the work
1111
setup(
1212
name="raw-image-converter",
13-
version="1.1.1",
13+
version="1.1.2",
1414
description="Batch conversions of raw images",
1515
long_description=README,
1616
long_description_content_type="text/markdown",
@@ -26,8 +26,8 @@
2626
],
2727
keywords='cli, converter, raw, images',
2828
packages=["raw_image_converter"],
29-
install_requires=["numpy==1.22.3", "rawpy==0.17.1",
30-
"imageio==2.16.2", "Pillow==10.0.1", "colorama==0.4.6"],
29+
install_requires=["numpy==1.26.4", "rawpy==0.19.1",
30+
"imageio==2.16.2", "Pillow==10.3.0", "colorama==0.4.6"],
3131
entry_points={
3232
"console_scripts": [
3333
"raw_image_converter=raw_image_converter.__main__:main",

0 commit comments

Comments
 (0)