Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update python versions and dependencies #1841

Draft
wants to merge 127 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
5b080c7
try python 3.12.x fpr mac conda build
eberrigan Jun 28, 2024
40c2802
try python 3.11.x for mac conda build
eberrigan Jun 28, 2024
62bf16d
trying 3.10.x for mac conda build
eberrigan Jun 28, 2024
b4e5cf7
try python 3.11.x with scipy >=1.11.1
eberrigan Jun 29, 2024
0442139
update windows dependencies python 3.9, pyside 6, scipy and numpy
eberrigan Jul 1, 2024
2b01b75
try python 3.10, and at least pyside6 6.2,
eberrigan Jul 2, 2024
61476a5
try python >=3.11.0,<3.13.0 for mac with pyside 6
eberrigan Jul 8, 2024
1aa027f
python 3.10 for mac conda package
eberrigan Jul 11, 2024
1d8a480
python 3.10 for mac dev environment
eberrigan Jul 11, 2024
79bd483
python 3.10 pyside 6 for windows dev environment
eberrigan Jul 11, 2024
aa43912
pip install tensorflow first
eberrigan Jul 11, 2024
b69731c
python 3.10 pyside 6 windows/linux conda package
eberrigan Jul 11, 2024
6319b39
use pyside6 in conda build for mac and python 3.10
eberrigan Jul 11, 2024
7431a98
use pyside6 in mac environment file and python 3.10
eberrigan Jul 11, 2024
37d3ad2
test pyside 6 and python 3.10 conda packages using build_manual
eberrigan Jul 11, 2024
623c220
checking to see if qtpy is still necessary with pyside 6
eberrigan Jul 11, 2024
bdddd80
qtpy not pulled in mac dev environment
eberrigan Jul 11, 2024
33dc70a
remove scikit-video dependency since it is not maintained
eberrigan Jul 12, 2024
1d8fb66
comment out `VideoWriterSkvideo` for now
eberrigan Jul 12, 2024
81b353e
add `imageio` to dev envs
eberrigan Jul 12, 2024
3c78181
constrain numpy <2.0 and add new tensorflow package to windows/linux …
eberrigan Jul 18, 2024
85cac3d
remove scikit-video, add new tensforflow package to environment_no_cuda
eberrigan Jul 18, 2024
c94c27b
remove scikit-video from pypi requirements
eberrigan Jul 18, 2024
2360b54
import imageio in videowriter module
eberrigan Jul 18, 2024
8db9102
add imageio, constrain pyside6 in windows conda build
eberrigan Jul 18, 2024
7aa1640
add imageio, constrain pyside6 in mac conda build
eberrigan Jul 18, 2024
46009c5
add imageio-ffmpeg, constrain pyside6 and use new tensorflow package …
eberrigan Jul 18, 2024
20e329a
remove imgaug and add imageio to pypi requirements
eberrigan Jul 18, 2024
b9b141b
change `can_use_skvideo` to `can_use_ffmpeg`
eberrigan Jul 18, 2024
fd12f90
add imageio-ffmpeg to windows conda build
eberrigan Jul 18, 2024
a555471
add imageio-ffmpeg to mac conda build
eberrigan Jul 18, 2024
54daa10
add imageio and imageio-ffmpeg to pypi requirements
eberrigan Jul 18, 2024
7599a06
remove trailing space
eberrigan Jul 18, 2024
3f97824
remove pyside 6 constraint in windows dev env
eberrigan Jul 18, 2024
4335754
add sleap-deps channels
eberrigan Jul 18, 2024
72c2483
add new tensorflow package to mac conda build
eberrigan Jul 18, 2024
cae05da
add new tensorflow package to mac environment, imageio-ffmpeg and pys…
eberrigan Jul 18, 2024
e002b2c
update environment_no_cuda to test using ci
eberrigan Jul 18, 2024
9ef6623
turn qtpy back on in windows env
eberrigan Jul 18, 2024
53f2eda
constrain pyside6 in environments to test using ci
eberrigan Jul 19, 2024
8752759
update actions to use python 3.10
eberrigan Jul 19, 2024
b210e61
environment does build locally without upper pyside constraint
eberrigan Jul 19, 2024
4eb2774
remove tensorflow from requirements
eberrigan Jul 19, 2024
903e601
black
eberrigan Jul 19, 2024
5943d0d
python-version needs quotes
eberrigan Jul 19, 2024
02ac22d
add pyside constraint to windows
eberrigan Jul 19, 2024
f13c81b
Remove constraints on PySide6
roomrys Jul 26, 2024
3494e13
pyside 6 >=6.5.0 without QtCharts
eberrigan Jul 31, 2024
b596a37
change pyside6 >=6.5.0 for windows conda package
eberrigan Jul 31, 2024
bcb2127
change pyside6 >=6.5.0 for windows mac package
eberrigan Jul 31, 2024
de2e0b9
change pyside6 >=6.5.0 for windows dev environment
eberrigan Jul 31, 2024
dfe9cd7
change pyside6 >=6.5.0 for mac dev environment
eberrigan Jul 31, 2024
c92ec24
remove QtCharts imports in `monitor` and `training_monitor`
eberrigan Jul 31, 2024
8829836
remove constraint on opencv
eberrigan Jul 31, 2024
8061a06
remove constraint on opencv
eberrigan Jul 31, 2024
fd41a73
remove h5py constraint
eberrigan Jul 31, 2024
1423f31
scikit-image 0.20.0 not working for macs
eberrigan Jul 31, 2024
f67d9aa
try scikit-image <=0.20.0 for mac
eberrigan Jul 31, 2024
c5ecd85
tensorflow from sleap-deps channel not being found
eberrigan Jul 31, 2024
69a16cf
try scikit-image <0.20.0 for mac env
eberrigan Jul 31, 2024
8d6141f
add condarc paths to build manual workflow
eberrigan Jul 31, 2024
8b9629f
add sleap-deps/label/dev to environment file channels just in case
eberrigan Jul 31, 2024
822ace3
remove tensorflow dependency that is now in mac tensorflow conda package
eberrigan Aug 1, 2024
3d3322b
try removing cattrs and jsonpickle constraints
eberrigan Aug 1, 2024
017ec1f
try removing importlib-metadata, cattrs, jsonpickle, networkx constra…
eberrigan Aug 1, 2024
30e8fa5
try scitkit-image >=0.21.0 for python compatibility
eberrigan Aug 1, 2024
f4bc279
remove cattrs and jsonpickle constraints from environment_no_cuda
eberrigan Aug 1, 2024
e6c46d7
remove cattrs and json pickle and networkx constraints from mac sleap…
eberrigan Aug 1, 2024
cfad8de
remove attrs, cattrs. h5py, jsonpickle, opencv, importlib-metadata, t…
eberrigan Aug 1, 2024
ad556ce
add matplotlib qt backend
eberrigan Aug 1, 2024
514972c
try linux build fix for libegl error
eberrigan Aug 1, 2024
0ca5a73
do we require pip?
eberrigan Aug 1, 2024
40f9b34
try libopencv fix for linux in environment for CI
eberrigan Aug 1, 2024
3545ac8
include pip check
eberrigan Aug 1, 2024
a2b1273
try headless libopencv from conda-forge channel in CI env
eberrigan Aug 1, 2024
a974206
try removing opencv
eberrigan Aug 1, 2024
544b9ec
try any channel libopencv *=headless*
eberrigan Aug 1, 2024
9ec64e8
libopencv *=headless* break windows env
eberrigan Aug 1, 2024
48d12de
replace qt5agg backend for matplotplib with updated qtagg
eberrigan Aug 1, 2024
355e252
add matplotlib functions to mplcanvas class
eberrigan Aug 1, 2024
51b13ba
start replacing qtcharts with mpl
eberrigan Aug 1, 2024
9af7619
add linux libraries to runner environment when os is linux
eberrigan Aug 2, 2024
b42ad2b
Merge remote-tracking branch 'origin/elizabeth/update-python-and-depe…
eberrigan Aug 2, 2024
314b9f5
init series
eberrigan Aug 2, 2024
0e8861a
change variable names
eberrigan Aug 2, 2024
096b84b
remove `VideoWriter` changes
eberrigan Aug 2, 2024
5649a30
remove `export_clip` changes
eberrigan Aug 2, 2024
63e0106
remove `training_monitor` changes
eberrigan Aug 2, 2024
e6a2d57
remove monitor changes
eberrigan Aug 3, 2024
a20af98
remove mpl changes
eberrigan Aug 3, 2024
53880c7
remove QtCharts imports
eberrigan Aug 3, 2024
ffa0982
remove skvideo import
eberrigan Aug 3, 2024
3587731
Attrs version needs to match cattrs
roomrys Aug 14, 2024
1746c7a
Pin jsonpickle to preserve backwards compatibility
Aug 15, 2024
c97f828
Merge branch 'develop' of https://github.com/talmolab/sleap into eliz…
roomrys Aug 16, 2024
0fe5a7d
Update attrs to match cattrs version
roomrys Aug 16, 2024
27ab36d
Try matching pypi dependencies to environment ymls
Aug 16, 2024
bb76653
Merge branch 'develop' into elizabeth/update-python-and-dependencies
roomrys Aug 16, 2024
254767c
Try new tensorflow build for mac
Aug 17, 2024
616238e
Fix ubuntu CI import error by adding OpenGL libraries (#1909)
eberrigan Aug 24, 2024
6564159
Merge branch 'develop' of https://github.com/talmolab/sleap into eliz…
roomrys Aug 26, 2024
12546d9
Update tensorflow version in mac meta.yml
roomrys Aug 27, 2024
41a5597
Trigger github action workflows for conda builds when changes made to…
eberrigan Aug 30, 2024
d38bf2d
Test wheel on macos python 3.10 using build_ci (#1923)
eberrigan Aug 30, 2024
a9b1dfb
Merge branch 'develop' into elizabeth/update-python-and-dependencies
roomrys Aug 31, 2024
cef0208
Install ffmpeg on macos and Ubuntu runners when testing PyPI wheel (#…
eberrigan Sep 3, 2024
b023ffe
Remove commented out code
Sep 5, 2024
b096ffa
Remove duplicate packages
Sep 5, 2024
7c2230b
Match meta dependencies to environment yml dependencies
Sep 5, 2024
d25c7d5
Remove commented out code
Sep 5, 2024
13444f0
Add comment for why certain pins
Sep 5, 2024
a585d80
Merge branch 'develop' of https://github.com/talmolab/sleap into eliz…
Sep 10, 2024
e2e5b5c
Pin numpy<2.0
Sep 11, 2024
17ca960
Merge branch 'develop' into elizabeth/update-python-and-dependencies
roomrys Sep 11, 2024
7b77402
Pin jsonpickle <=1.5.0 in win/linux meta.yaml
Sep 11, 2024
a3e1bb2
Also pin jsonpick<=1.5.0 in the run section for win/linux
Sep 11, 2024
902d062
Use sleap-deps main channel
roomrys Sep 12, 2024
95ba6ac
Merge branch 'develop' into elizabeth/update-python-and-dependencies
roomrys Sep 25, 2024
e06db9d
Merge branch 'develop' into elizabeth/update-python-and-dependencies
roomrys Oct 2, 2024
3cc1eb1
Merge branch 'develop' into elizabeth/update-python-and-dependencies
roomrys Oct 4, 2024
8252868
Merge branch 'develop' into elizabeth/update-python-and-dependencies
roomrys Oct 9, 2024
3abbd50
Remove python version from website build yml (#1991)
roomrys Oct 9, 2024
9d42bb7
Add XLA_FLAGS for windows and linux
roomrys Oct 10, 2024
0904681
Disable annoying albumentations update message
roomrys Oct 10, 2024
bf3b4c0
Pin PySIde6<6.8.0
roomrys Oct 28, 2024
63f2d8d
Remove QT_MAC_WANTS_LAYER
roomrys Oct 28, 2024
c5e3ce8
Lower bound albumentation version to handle Nan keypoints (#1995)
roomrys Nov 2, 2024
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
11 changes: 11 additions & 0 deletions .conda/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ pip install --no-cache-dir -r .\requirements.txt
@REM Install sleap itself. This does not install the requirements, but will list which
@REM requirements are missing (see "install_requires") when user attempts to install.
python setup.py install --single-version-externally-managed --record=record.txt

@REM Copied from https://docs.conda.io/projects/conda-build/en/latest/resources/activate-scripts.html
setlocal EnableDelayedExpansion
:: Copy the [de]activate scripts to %PREFIX%\etc\conda\[de]activate.d.
:: This will allow them to be run on environment activation.
for %%F in (activate deactivate) DO (
if not exist %PREFIX%\etc\conda\%%F.d mkdir %PREFIX%\etc\conda\%%F.d
copy %RECIPE_DIR%\%%F.bat %PREFIX%\etc\conda\%%F.d\%PKG_NAME%_%%F.bat
:: Copy unix shell activation scripts, needed by Windows Bash users
copy %RECIPE_DIR%\%%F.sh %PREFIX%\etc\conda\%%F.d\%PKG_NAME%_%%F.sh
)
3 changes: 1 addition & 2 deletions .conda/condarc.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
channels:
- sleap-deps
- conda-forge
- nvidia
- https://conda.anaconda.org/sleap/label/dev
- sleap
- anaconda
73 changes: 39 additions & 34 deletions .conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ build:

requirements:
host:
- conda-forge::python ==3.7.12 # Run into _MAX_WINDOWS_WORKERS not found if <
- numpy >=1.19.5,<1.23.0 # Linux likes anaconda, windows likes conda-forge
- conda-forge::python >=3.10.0,<3.11.0
- numpy >=1.16.5,<2.0 # SciPy 1.7 requires numpy >=1.16.5
- conda-forge::cudatoolkit ==11.3.1
- conda-forge::cudnn=8.2.1
- nvidia::cuda-nvcc=11.3
Expand All @@ -30,71 +30,76 @@ requirements:

# Only the packages above are required to build, but listing them all ensures no
# unnecessary pypi packages are installed via the build script (bld.bat, build.sh)
- conda-forge::attrs ==21.4.0
- conda-forge::cattrs ==1.1.1
- conda-forge::h5py ==3.7.0
- conda-forge::imageio-ffmpeg # Required for imageio to read/write videos with ffmpeg
- conda-forge::attrs
- conda-forge::cattrs
- conda-forge::h5py
- conda-forge::imageio
- conda-forge::imageio-ffmpeg
- conda-forge::jsmin
- conda-forge::jsonpickle ==1.2
- conda-forge::jsonpickle <=1.5.0 # 1.5.1 breaks compatibility with v1 encoded files
- conda-forge::networkx
- conda-forge::opencv <4.9.0
- conda-forge::opencv
- conda-forge::pandas
- conda-forge::pillow >=8.3.2
- conda-forge::pillow
- conda-forge::psutil
- conda-forge::pykalman
- conda-forge::pyside2 >=5.12,<5.14
- conda-forge::pyside6 >=6.5.0,<6.8.0 # 6.4: problematic QtCharts, 6.8.0: video display issues
- conda-forge::python-rapidjson
- conda-forge::pyyaml
- conda-forge::pyzmq
- conda-forge::qtpy >=2.0.1
- conda-forge::rich
- conda-forge::scipy >=1.4.1,<=1.9.0
- conda-forge::scipy >=1.7.0 # Python 3.10 requires scipy >=1.7
- conda-forge::scikit-image
- conda-forge::scikit-learn ==1.0
- conda-forge::scikit-video
- conda-forge::scikit-learn >=1.0.0 # Python 3.10 requires scikit-learn >=1.0
- conda-forge::seaborn
- sleap-deps::tensorflow ==2.9.2
- conda-forge::tensorflow-hub
- conda-forge::qudida
- conda-forge::albumentations
- conda-forge::albumentations >=1.4.15 # Handle Nan keypoints
- conda-forge::ndx-pose <0.2.0
- conda-forge::importlib-metadata ==4.11.4
- conda-forge::importlib-metadata
run:
- conda-forge::python ==3.7.12 # Run into _MAX_WINDOWS_WORKERS not found if <
- conda-forge::attrs ==21.4.0
- conda-forge::cattrs ==1.1.1
- conda-forge::imageio-ffmpeg # Required for imageio to read/write videos with ffmpeg
- conda-forge::python >=3.10.0,<3.11.0
- numpy >=1.16.5,<2.0 # SciPy 1.7 requires numpy >=1.16.5
- conda-forge::attrs
- conda-forge::cattrs
- conda-forge::cudatoolkit ==11.3.1
- conda-forge::cudnn=8.2.1
- nvidia::cuda-nvcc=11.3
- conda-forge::h5py ==3.7.0
- conda-forge::h5py
- conda-forge::imageio
- conda-forge::imageio-ffmpeg
- conda-forge::jsmin
- conda-forge::jsonpickle ==1.2
- conda-forge::jsonpickle <=1.5.0 # 1.5.1 breaks compatibility with v1 encoded files
- conda-forge::networkx
- numpy >=1.19.5,<1.23.0 # Linux likes anaconda, windows likes conda-forge
- conda-forge::opencv <4.9.0
- conda-forge::opencv
- conda-forge::pandas
- conda-forge::pillow >=8.3.2
- conda-forge::pillow
- conda-forge::psutil
- conda-forge::pykalman
- conda-forge::pyside2 >=5.12,<5.14 # To ensure works correctly with QtPy.
- conda-forge::pyside6 >=6.5.0,<6.8.0 # 6.4: problematic QtCharts, 6.8.0: video display issues
- conda-forge::python-rapidjson
- conda-forge::pyyaml
- conda-forge::pyzmq
- conda-forge::qtpy >=2.0.1
- conda-forge::rich
- conda-forge::scipy >=1.4.1,<=1.9.0
- conda-forge::scipy >=1.7.0 # Python 3.10 requires scipy >=1.7
- conda-forge::scikit-image
- conda-forge::scikit-learn ==1.0
- conda-forge::scikit-video
- conda-forge::scikit-learn >=1.0.0 # Python 3.10 requires scikit-learn >=1.0
- conda-forge::seaborn
- sleap/label/dev::tensorflow ==2.7.0 # TODO: Switch to main label when updated
- conda-forge::tensorflow-hub <0.14.0 # Causes pynwb conflicts on linux GH-1446
- sleap-deps::tensorflow ==2.9.2
- conda-forge::tensorflow-hub
- conda-forge::qudida
- conda-forge::albumentations
- conda-forge::albumentations >=1.4.15 # Handle Nan keypoints
- conda-forge::ndx-pose <0.2.0
- conda-forge::importlib-metadata ==4.11.4
- conda-forge::importlib-metadata

test:
requires:
- pip
- libopencv *=headless* # [linux] https://github.com/conda-forge/opencv-feedstock/issues/401#issuecomment-2028099423
# This no longer works so we have moved it to the build workflow
# https://github.com/talmolab/sleap/pull/1744
# test:
# imports:
# - sleap
# - sleap
6 changes: 6 additions & 0 deletions .conda/sleap_activate.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@REM Remember the old library path for when we deactivate
set SLEAP_OLD_XLA_FLAGS=%XLA_FLAGS%
set SLEAP_OLD_NO_ALBUMENTATIONS_UPDATE=%NO_ALBUMENTATIONS_UPDATE%
@REM Help XLA find CUDA
set XLA_FLAGS=--xla_gpu_cuda_data_dir=%CONDA_PREFIX%
set NO_ALBUMENTATIONS_UPDATE=1
9 changes: 7 additions & 2 deletions .conda/sleap_activate.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/sh

# Remember the old library path for when we deactivate
# Remember the old variables for when we deactivate
export SLEAP_OLD_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
export SLEAP_OLD_XLA_FLAGS=$XLA_FLAGS
# Help CUDA find GPUs!
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
# Help XLA find CUDA
export XLA_FLAGS=--xla_gpu_cuda_data_dir=$CONDA_PREFIX
# Disable annoying albumentations message
export NO_ALBUMENTATIONS_UPDATE=1
3 changes: 3 additions & 0 deletions .conda/sleap_deactivate.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@REM Reset to the old variables when deactivating the environment
set XLA_FLAGS=%SLEAP_OLD_XLA_FLAGS%
set NO_ALBUMENTATIONS_UPDATE=%SLEAP_OLD_NO_ALBUMENTATIONS_UPDATE%
6 changes: 4 additions & 2 deletions .conda/sleap_deactivate.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/sh

# Reset to the old library path for when deactivating the environment
export LD_LIBRARY_PATH=$SLEAP_OLD_LD_LIBRARY_PATH
# Reset to the old variables when deactivating the environment
export LD_LIBRARY_PATH=$SLEAP_OLD_LD_LIBRARY_PATH
export XLA_FLAGS=$SLEAP_OLD_XLA_FLAGS
export NO_ALBUMENTATIONS_UPDATE=$SLEAP_OLD_NO_ALBUMENTATIONS_UPDATE
2 changes: 1 addition & 1 deletion .conda_mac/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This folder defines the conda package build for Apple silicon Macs. Until there are aarm64 runners, we have to run this manually on Apple M1 silicon.
This folder defines the conda package build for Apple silicon Macs.

To build, first go to the base repo directory and install the build environment:

Expand Down
10 changes: 9 additions & 1 deletion .conda_mac/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,12 @@ export PIP_IGNORE_INSTALLED=False

pip install --no-cache-dir -r requirements.txt

python setup.py install --single-version-externally-managed --record=record.txt
python setup.py install --single-version-externally-managed --record=record.txt

# Copy the activate scripts to $PREFIX/etc/conda/activate.d.
# This will allow them to be run on environment activation.
for CHANGE in "activate" "deactivate"
do
mkdir -p "${PREFIX}/etc/conda/${CHANGE}.d"
cp "${RECIPE_DIR}/${PKG_NAME}_${CHANGE}.sh" "${PREFIX}/etc/conda/${CHANGE}.d/${PKG_NAME}_${CHANGE}.sh"
done
3 changes: 2 additions & 1 deletion .conda_mac/condarc.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# https://github.com/github/roadmap/issues/528

channels:
- sleap-deps
- conda-forge
- anaconda
- anaconda
61 changes: 28 additions & 33 deletions .conda_mac/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,74 +23,69 @@ source:

requirements:
host:
- conda-forge::python >=3.9.0, <3.10.0
- anaconda::numpy >=1.19.5,<1.23.0
- conda-forge::python >=3.10.0,<3.11.0
- conda-forge::numpy >=1.16.5 # Scipy 1.7.0 requires numpy >=1.16.5
- conda-forge::setuptools
- conda-forge::packaging
- conda-forge::pip

# Only the packages above are required to build, but listing them all ensures no
# unnecessary pypi packages are installed via the build script (bld.bat, build.sh)
- conda-forge::attrs >=21.2.0
- conda-forge::cattrs ==1.1.1
- conda-forge::attrs
- conda-forge::cattrs
- conda-forge::h5py
- conda-forge::imageio-ffmpeg # Required for imageio to read/write videos with ffmpeg
- conda-forge::imageio
- conda-forge::imageio-ffmpeg
- conda-forge::jsmin
- conda-forge::jsonpickle ==1.2
- conda-forge::keras <2.10.0,>=2.9.0rc0 # Required by tensorflow-macos
- conda-forge::networkx <3.3
- conda-forge::jsonpickle <=1.5.0 # 1.5.1 breaks compatibility with v1 encoded files
- conda-forge::networkx
- conda-forge::opencv
- conda-forge::pandas
- conda-forge::pillow
- conda-forge::psutil
- conda-forge::pykalman
- conda-forge::pyside2 >=5.12
- conda-forge::pyside6 >=6.5.0,<6.8.0 # 6.4: problematic QtCharts, 6.8.0: video display issues
- conda-forge::python-rapidjson
- conda-forge::pyyaml
- conda-forge::pyzmq
- conda-forge::qtpy >=2.0.1
- conda-forge::rich
- conda-forge::scipy >=1.4.1,<=1.9.0
- conda-forge::scikit-image
- conda-forge::scikit-learn ==1.0
- conda-forge::scikit-video
- conda-forge::scipy >=1.7.0 # Python 3.10 is compatible with scipy >=1.7.0
- conda-forge::scikit-image >=0.21.0 # 0.20.0 requires python_abi 3.8.* *_cp38
- conda-forge::scikit-learn >=1.0.0 # Python 3.10 needs scikit-learn >= 1.0
- conda-forge::seaborn
- sleap-deps::tensorflow ==2.12.0
- conda-forge::qudida
- conda-forge::albumentations
- conda-forge::albumentations >=1.4.15 # Handle Nan keypoints
- conda-forge::ndx-pose <0.2.0

run:
- conda-forge::python >=3.9.0, <3.10.0
- conda-forge::attrs >=21.2.0
- conda-forge::cattrs ==1.1.1
- conda-forge::python >=3.10.0,<3.11.0
- conda-forge::attrs
- conda-forge::cattrs
- conda-forge::h5py
- conda-forge::imageio-ffmpeg # Required for imageio to read/write videos with ffmpeg
- conda-forge::imageio
- conda-forge::imageio-ffmpeg
- conda-forge::jsmin
- conda-forge::jsonpickle ==1.2
- conda-forge::keras <2.10.0,>=2.9.0rc0 # Required by tensorflow-macos
- conda-forge::networkx <3.3
- anaconda::numpy >=1.19.5,<1.23.0
- conda-forge::jsonpickle <=1.5.0 # 1.5.1 breaks compatibility with v1 encoded files
- conda-forge::networkx
- conda-forge::numpy >=1.16.5 # Scipy 1.7.0 requires numpy >=1.16.5
- conda-forge::opencv
- conda-forge::pandas
- conda-forge::pillow
- conda-forge::psutil
- conda-forge::pykalman
- conda-forge::pyside2 >=5.12
- conda-forge::pyside6 >=6.5.0,<6.8.0 # 6.4: problematic QtCharts, 6.8.0: video display issues
- conda-forge::python-rapidjson
- conda-forge::pyyaml
- conda-forge::pyzmq
- conda-forge::qtpy >=2.0.1
- conda-forge::rich
- conda-forge::scipy >=1.4.1,<=1.9.0
- conda-forge::scikit-image
- conda-forge::scikit-learn ==1.0
- conda-forge::scikit-video
- conda-forge::scipy >=1.7.0 # Python 3.10 is compatible with scipy >=1.7.0
- conda-forge::scikit-image >=0.21.0 # 0.20.0 requires python_abi 3.8.* *_cp38
- conda-forge::scikit-learn >=1.0.0 # Python 3.10 needs scikit-learn >= 1.0
- conda-forge::seaborn
# - conda-forge::tensorflow-hub # pulls in tensorflow cpu from conda-forge
- sleap-deps::tensorflow ==2.12.0
- conda-forge::qudida
- conda-forge::albumentations
- conda-forge::albumentations >=1.4.15 # Handle Nan keypoints
- conda-forge::ndx-pose <0.2.0

# test:
# imports:
# - sleap
4 changes: 4 additions & 0 deletions .conda_mac/sleap_activate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

# Disable annoying albumentations message
export NO_ALBUMENTATIONS_UPDATE=1
4 changes: 4 additions & 0 deletions .conda_mac/sleap_deactivate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

# Reset to the old variables when deactivating the environment
export NO_ALBUMENTATIONS_UPDATE=$SLEAP_OLD_NO_ALBUMENTATIONS_UPDATE
Loading
Loading