-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new environment for 2024-3 cycle (#316)
* MNT #215 * CI #316 suspend ruff lingint for now * MNT #318 change --force to -y * MNT update channels per Ts&Cs * DOC #319 add requested guidance * MNT #315 move most installs to pip * DOC #316 changes * MNT #316 drop defaults channel * DOC #316 remove the pin on sphinx version * ENV #316 * ENV #316 no pin on this python * ENV #316 pin py<3.12 is more flexible * DOC #215 update README
- Loading branch information
Showing
7 changed files
with
279 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,10 +32,11 @@ jobs: | |
set -vxeuo pipefail | ||
python -m pip install --upgrade pip | ||
- name: Run ruff | ||
uses: davidslusser/[email protected] | ||
with: | ||
python_version: "3.11" | ||
# 2024-09-20,prj: disable until code is compliant | ||
# - name: Run ruff | ||
# uses: davidslusser/[email protected] | ||
# with: | ||
# python_version: "3.11" | ||
|
||
tests: | ||
name: CI py${{ matrix.python-version }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
name: bluesky_2024_3 | ||
|
||
# download: | ||
# wget https://raw.githubusercontent.com/BCDA-APS/bluesky_training/main/bluesky/environments/environment_2024_3.yml | ||
# create: | ||
# conda env create -y -n bluesky_2024_3 -f ./environment_2024_3.yml --solver=libmamba | ||
# activate: | ||
# conda activate bluesky_2024_3 | ||
|
||
# Add/revise environment variable for default bluesky environment. | ||
# Add to ~/.bash_aliases (or if that does not exist, ~/.bashrc). | ||
# export BLUESKY_CONDA_ENV=bluesky_2024_3 | ||
|
||
# For more advice about bash environment variables, see: | ||
# https://github.com/BCDA-APS/bluesky_training/blob/main/bluesky/environments/admin/bluesky.md#bash-environment-variables | ||
|
||
channels: | ||
# - apsu # Must be first for compatible epics-base, pyepics, pvapy | ||
- conda-forge | ||
|
||
# due to licensing Terms & Conditions, don't use the defaults channel. | ||
- nodefaults | ||
# Note this advice: https://stackoverflow.com/questions/67695893/ | ||
|
||
dependencies: | ||
# Use conda to install only the basics and whatever pip can't install. | ||
# This includes binaries such as Qt and hkl. | ||
# Everything else by pip. | ||
|
||
# Some Bluesky packages are not ready for 3.12+. | ||
# Since this uses pip to install most packages, their | ||
# requirements will not be handled until after the | ||
# conda environment is installed. | ||
- python <3.12 | ||
- pip | ||
- apsu::pvapy | ||
- apsu::aps-dm-api >=8 # linux-64 osx-64 -- ONLY at APS! | ||
- hkl # linux-64 | ||
- nbconvert-pandoc | ||
- pandoc >3 | ||
- pyqt =5 | ||
- qt =5 | ||
|
||
- pip: | ||
|
||
# APS-only | ||
# - apsbss # only works on APS subnet | ||
|
||
# user-requested visualization packages | ||
- c2dataviewer # EPICS PVA images | ||
- gemviz # from tiled | ||
- mdaviz # MDA data files | ||
- nexpy # HDF5 and SPEC data files | ||
- pymca # HDF5 and SPEC data files | ||
|
||
# --- user-requested packages | ||
- https://github.com/BCDA-APS/adl2pydm/archive/main.zip | ||
- ophyd-registry | ||
- punx | ||
# - pvmail | ||
- pvview | ||
- pyRestTable | ||
- spec2nexus | ||
- xrayutilities | ||
|
||
# --- Python core packages | ||
- ipython | ||
- jupyter | ||
- jupyterlab | ||
- notebook | ||
- numpy <1.999 # avoid any and all numpy 2.0 releases (includes 2.0.0aNNN) | ||
- psutil | ||
|
||
# --- general support packages | ||
- apischema | ||
- bitshuffle | ||
- h5py | ||
- hdf5plugin | ||
# - httpie | ||
- imagecodecs-lite | ||
- ipympl | ||
- lxml | ||
- pandas | ||
- pint | ||
- pymongo | ||
# - pysumreg | ||
- scikit-image | ||
- xlrd | ||
|
||
# --- Bluesky framework packages | ||
- apstools | ||
- area-detector-handlers | ||
- bluesky >=1.12 | ||
- bluesky-httpserver | ||
- bluesky-kafka | ||
- bluesky-live | ||
- bluesky-queueserver | ||
- bluesky-queueserver-api | ||
- bluesky-widgets | ||
- databroker <=1.999 | ||
- databroker-pack | ||
- happi | ||
- hklpy >=1.1.1 | ||
- httpx >=0.14 # issue #75 | ||
- ophyd >=1.9 | ||
- pydm | ||
- tiled[all] | ||
# https://github.com/pydata/xarray/issues/6818 | ||
- xarray !=2022.6.0 # incompatible with numpy=1.20 | ||
|
||
# --- testing and quality assurance | ||
- black | ||
- flake8 | ||
- pylint | ||
- pytest | ||
- pytest-notebook | ||
- ruff | ||
|
||
# --- packaging and publishing | ||
- coverage | ||
- myst-parser | ||
- nbsphinx | ||
- pydata-sphinx-theme | ||
- pygithub | ||
- sphinx | ||
- sphinx-design | ||
- sphinx-tabs | ||
- sphinxcontrib-napoleon | ||
- twine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,6 @@ nbsphinx | |
pydata-sphinx-theme | ||
pygments >=2.12 | ||
pygments-ipython-console | ||
sphinx <6 | ||
sphinx | ||
sphinx-design | ||
sphinx-tabs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.