From d4422c80a55c96b7164558675d0df0846f4cd7df Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Sun, 8 Oct 2023 06:16:36 +0000 Subject: [PATCH 1/4] updated v3.4.0 --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 770041a..4a5fb5e 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "pycustomfocus" %} -{% set version = "3.3.6" %} +{% set version = "3.4.0" %} package: name: {{ name|lower }} @@ -7,7 +7,7 @@ package: source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/PyCustomFocus-{{ version }}.tar.gz - sha256: c2d729a2a2d33cb381e3257b45e5575d50d89b0e04a16d7b47c560bdb7b77fd6 + sha256: 3d4d6131f23d4baf3b9ffa7ba93512de7a7334a379e19bb6848d441ac69cd5e9 patches: - qtpy.patch From c060b98672f890fc44b44a182e7d47e0ec8c4044 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Sun, 8 Oct 2023 06:16:57 +0000 Subject: [PATCH 2/4] MNT: Re-rendered with conda-build 3.27.0, conda-smithy 3.27.1, and conda-forge-pinning 2023.10.07.18.27.00 --- .scripts/build_steps.sh | 9 ++++----- .scripts/logging_utils.sh | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 595f8b5..d20d8f4 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -31,11 +31,10 @@ pkgs_dirs: CONDARC - -mamba install --update-specs --yes --quiet --channel conda-forge \ - conda-build pip boa conda-forge-ci-setup=3 -mamba update --update-specs --yes --quiet --channel conda-forge \ - conda-build pip boa conda-forge-ci-setup=3 +mamba install --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ + pip mamba conda-build boa conda-forge-ci-setup=3 +mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ + pip mamba conda-build boa conda-forge-ci-setup=3 # set up the condarc setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" diff --git a/.scripts/logging_utils.sh b/.scripts/logging_utils.sh index 57bc95c..aff009f 100644 --- a/.scripts/logging_utils.sh +++ b/.scripts/logging_utils.sh @@ -12,7 +12,7 @@ function startgroup { echo "##[group]$1";; travis ) echo "$1" - echo -en 'travis_fold:start:'"${1// /}"'\\r';; + echo -en 'travis_fold:start:'"${1// /}"'\r';; github_actions ) echo "::group::$1";; * ) @@ -28,7 +28,7 @@ function endgroup { azure ) echo "##[endgroup]";; travis ) - echo -en 'travis_fold:end:'"${1// /}"'\\r';; + echo -en 'travis_fold:end:'"${1// /}"'\r';; github_actions ) echo "::endgroup::";; esac From 806e3ad1e869803765d35ce4c8b26ec84c8b8197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Pe=C3=B1a-Castellanos?= Date: Mon, 23 Oct 2023 15:56:53 -0500 Subject: [PATCH 3/4] Update qtpy.patch --- recipe/qtpy.patch | 111 +++++++++++++++++++++++++++++++++------------- 1 file changed, 80 insertions(+), 31 deletions(-) diff --git a/recipe/qtpy.patch b/recipe/qtpy.patch index dfa7997..43b265a 100644 --- a/recipe/qtpy.patch +++ b/recipe/qtpy.patch @@ -1,26 +1,35 @@ -diff --git a/src/PyFocus/user_interface/front_end_ui.py b/src/PyFocus/user_interface/front_end_ui.py -index f29512b..ed42cbd 100644 ---- a/src/PyFocus/user_interface/front_end_ui.py -+++ b/src/PyFocus/user_interface/front_end_ui.py -@@ -2,11 +2,11 @@ +diff --git a/.DS_Store b/.DS_Store +deleted file mode 100644 +index 5fd8700..0000000 +Binary files a/.DS_Store and /dev/null differ +diff --git a/src/.DS_Store b/src/.DS_Store +index ba270ca..8026d24 100644 +Binary files a/src/.DS_Store and b/src/.DS_Store differ +diff --git a/src/PyFocus/user_interface/front_end_ui.py b/src/PyFocus/user_interface/front_end_ui.py +index cb30f14..e0970aa 100644 +--- a/src/PyFocus/user_interface/front_end_ui.py ++++ b/src/PyFocus/user_interface/front_end_ui.py +@@ -2,13 +2,13 @@ - # Form implementation generated from reading ui file 'front_end.ui' + # Form implementation generated from reading ui file 'c:\Users\fernando\Documents\GitHub\napari-psf-simulator\src\napari_psf_simulator\PyFocus\src\PyFocus\user_interface\front_end.ui' # --# Created by: PyQt5 UI code generator 5.9.2 -+# Created by: qtpy UI code generator 5.9.2 +-# Created by: PyQt5 UI code generator 5.15.9 ++# Created by: qtpy UI code generator 5.15.9 # - # WARNING! All changes made in this file will be lost! + # WARNING: Any manual changes made to this file will be lost when pyuic5 is + # run again. Do not edit this file unless you know what you are doing. + -from PyQt5 import QtCore, QtGui, QtWidgets +from qtpy import QtCore, QtGui, QtWidgets - #Scaling based on the screen resolution - import ctypes -diff --git a/src/PyFocus/user_interface/mask_selection/mask_selection.py b/src/PyFocus/user_interface/mask_selection/mask_selection.py -index c138c5f..867553c 100644 ---- a/src/PyFocus/user_interface/mask_selection/mask_selection.py -+++ b/src/PyFocus/user_interface/mask_selection/mask_selection.py -@@ -2,11 +2,11 @@ + + class Ui_MainWindow(object): +diff --git a/src/PyFocus/user_interface/mask_selection/mask_selection.py b/src/PyFocus/user_interface/mask_selection/mask_selection.py +index c138c5f..867553c 100644 +--- a/src/PyFocus/user_interface/mask_selection/mask_selection.py ++++ b/src/PyFocus/user_interface/mask_selection/mask_selection.py +@@ -2,11 +2,11 @@ # Form implementation generated from reading ui file 'mask_selection2.ui' # @@ -34,11 +43,11 @@ index c138c5f..867553c 100644 import config import numpy as np -diff --git a/src/PyFocus/user_interface/mask_selection/mask_selection2.py b/src/PyFocus/user_interface/mask_selection/mask_selection2.py -index e6a8666..74be1ee 100644 ---- a/src/PyFocus/user_interface/mask_selection/mask_selection2.py -+++ b/src/PyFocus/user_interface/mask_selection/mask_selection2.py -@@ -2,11 +2,11 @@ +diff --git a/src/PyFocus/user_interface/mask_selection/mask_selection2.py b/src/PyFocus/user_interface/mask_selection/mask_selection2.py +index e6a8666..74be1ee 100644 +--- a/src/PyFocus/user_interface/mask_selection/mask_selection2.py ++++ b/src/PyFocus/user_interface/mask_selection/mask_selection2.py +@@ -2,11 +2,11 @@ # Form implementation generated from reading ui file 'mask_selection2.ui' # @@ -52,11 +61,31 @@ index e6a8666..74be1ee 100644 class Ui_MaskWindow(object): def setupUi(self, MaskWindow): -diff --git a/src/PyFocus/user_interface/mask_selection/mask_selection_modified.py b/src/PyFocus/user_interface/mask_selection/mask_selection_modified.py -index a1d5311..ad18aee 100644 ---- a/src/PyFocus/user_interface/mask_selection/mask_selection_modified.py -+++ b/src/PyFocus/user_interface/mask_selection/mask_selection_modified.py -@@ -2,11 +2,11 @@ +diff --git a/src/PyFocus/user_interface/mask_selection/mask_selection2_ui.py b/src/PyFocus/user_interface/mask_selection/mask_selection2_ui.py +index 1019fd0..45c5315 100644 +--- a/src/PyFocus/user_interface/mask_selection/mask_selection2_ui.py ++++ b/src/PyFocus/user_interface/mask_selection/mask_selection2_ui.py +@@ -2,13 +2,13 @@ + + # Form implementation generated from reading ui file 'c:\Users\fernando\Documents\GitHub\napari-psf-simulator\src\napari_psf_simulator\PyFocus\src\PyFocus\user_interface\mask_selection\mask_selection2.ui' + # +-# Created by: PyQt5 UI code generator 5.15.9 ++# Created by: qtpy UI code generator 5.15.9 + # + # WARNING: Any manual changes made to this file will be lost when pyuic5 is + # run again. Do not edit this file unless you know what you are doing. + + +-from PyQt5 import QtCore, QtGui, QtWidgets ++from qtpy import QtCore, QtGui, QtWidgets + + + class Ui_MaskWindow(object): +diff --git a/src/PyFocus/user_interface/mask_selection/mask_selection_modified.py b/src/PyFocus/user_interface/mask_selection/mask_selection_modified.py +index a1d5311..ad18aee 100644 +--- a/src/PyFocus/user_interface/mask_selection/mask_selection_modified.py ++++ b/src/PyFocus/user_interface/mask_selection/mask_selection_modified.py +@@ -2,11 +2,11 @@ # Form implementation generated from reading ui file 'mask_selection2.ui' # @@ -70,11 +99,31 @@ index a1d5311..ad18aee 100644 import config import numpy as np -diff --git a/src/PyFocus/user_interface/user_interface.py b/src/PyFocus/user_interface/user_interface.py -index cd864cd..32bdc2d 100644 ---- a/src/PyFocus/user_interface/user_interface.py -+++ b/src/PyFocus/user_interface/user_interface.py -@@ -4,7 +4,7 @@ from matplotlib import pyplot as plt +diff --git a/src/PyFocus/user_interface/mask_selection/mask_selection_ui.py b/src/PyFocus/user_interface/mask_selection/mask_selection_ui.py +index 0a5624b..eaccb94 100644 +--- a/src/PyFocus/user_interface/mask_selection/mask_selection_ui.py ++++ b/src/PyFocus/user_interface/mask_selection/mask_selection_ui.py +@@ -2,13 +2,13 @@ + + # Form implementation generated from reading ui file 'c:\Users\fernando\Documents\GitHub\napari-psf-simulator\src\napari_psf_simulator\PyFocus\src\PyFocus\user_interface\mask_selection\mask_selection.ui' + # +-# Created by: PyQt5 UI code generator 5.15.9 ++# Created by: qtpy UI code generator 5.15.9 + # + # WARNING: Any manual changes made to this file will be lost when pyuic5 is + # run again. Do not edit this file unless you know what you are doing. + + +-from PyQt5 import QtCore, QtGui, QtWidgets ++from qtpy import QtCore, QtGui, QtWidgets + + + class Ui_Dialog(object): +diff --git a/src/PyFocus/user_interface/user_interface.py b/src/PyFocus/user_interface/user_interface.py +index cd864cd..32bdc2d 100644 +--- a/src/PyFocus/user_interface/user_interface.py ++++ b/src/PyFocus/user_interface/user_interface.py +@@ -4,7 +4,7 @@ from matplotlib import pyplot as plt import time import configparser import config From 68a8ad40cad55a20aa81d98d3beb89226db46d7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Pe=C3=B1a-Castellanos?= Date: Mon, 23 Oct 2023 16:03:18 -0500 Subject: [PATCH 4/4] Update qtpy.patch --- recipe/qtpy.patch | 7 ------- 1 file changed, 7 deletions(-) diff --git a/recipe/qtpy.patch b/recipe/qtpy.patch index 43b265a..bc5b9a7 100644 --- a/recipe/qtpy.patch +++ b/recipe/qtpy.patch @@ -1,10 +1,3 @@ -diff --git a/.DS_Store b/.DS_Store -deleted file mode 100644 -index 5fd8700..0000000 -Binary files a/.DS_Store and /dev/null differ -diff --git a/src/.DS_Store b/src/.DS_Store -index ba270ca..8026d24 100644 -Binary files a/src/.DS_Store and b/src/.DS_Store differ diff --git a/src/PyFocus/user_interface/front_end_ui.py b/src/PyFocus/user_interface/front_end_ui.py index cb30f14..e0970aa 100644 --- a/src/PyFocus/user_interface/front_end_ui.py