Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/CI-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
os-version: ["windows-latest", "ubuntu-latest", "macos-14"]
python-version: ["3.11"]
poetry-version: ["1.8.3"]
ccrestoration-version: ["0.2.2"]

runs-on: ${{ matrix.os-version }}
steps:
Expand All @@ -45,7 +46,7 @@ jobs:
pip install numpy==1.26.4
pip install opencv-python==4.10.0.84

pip install ccrestoration
pip install ccrestoration==${{ matrix.ccrestoration-version }}

pip install PyYAML pydantic loguru
pip install pre-commit scikit-image
Expand All @@ -70,7 +71,7 @@ jobs:
make test

- name: Codecov
if: matrix.os-version == 'ubuntu-20.04'
if: matrix.os-version == 'ubuntu-latest'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -81,6 +82,7 @@ jobs:
os-version: ["windows-latest", "ubuntu-latest", "macos-14"]
python-version: ["3.11"]
poetry-version: ["1.8.3"]
ccrestoration-version: ["0.2.2"]

runs-on: ${{ matrix.os-version }}
steps:
Expand All @@ -101,7 +103,7 @@ jobs:
pip install numpy==1.26.4
pip install opencv-python==4.10.0.84

pip install ccrestoration
pip install ccrestoration==${{ matrix.ccrestoration-version }}

pip install PyYAML pydantic loguru

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
os-version: ["windows-latest", "macos-14"]
python-version: ["3.11"]
poetry-version: ["1.8.3"]
ccrestoration-version: ["0.2.2"]

runs-on: ${{ matrix.os-version }}
steps:
Expand All @@ -42,7 +43,7 @@ jobs:
pip install numpy==1.26.4
pip install opencv-python==4.10.0.84

pip install ccrestoration
pip install ccrestoration==${{ matrix.ccrestoration-version }}

pip install PyYAML pydantic loguru

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ After v3.0.0, ncnn will be deprecated, and the project will use ccrestoration(Py
### License

This project is licensed under the BSD 3-Clause - see
the [LICENSE file](https://github.com/Tohrusky/Final2x-core/blob/main/LICENSE) for details.
the [LICENSE file](./LICENSE) for details.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ version = "3.2.0"
# Requirements
[tool.poetry.dependencies]
PyYAML = "*"
ccrestoration = "0.2.1"
ccrestoration = "0.2.2"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better maintainability, consider using a caret ^ for the version constraint. This allows poetry to automatically pick up non-breaking patch and minor releases, reducing the need for manual updates for simple bug fixes. For example, ^0.2.2 would allow any version >=0.2.2 and <0.3.0.

Suggested change
ccrestoration = "0.2.2"
ccrestoration = "^0.2.2"

loguru = "*"
pydantic = "*"
python = "^3.9"
Expand Down
Loading