Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
805 commits
Select commit Hold shift + click to select a range
c8d6cf4
Merge pull request #1915 from girder/patch-annotations
manthey May 21, 2025
6666cf5
Reduce a warning message that should no longer be of interest
manthey May 21, 2025
48f867b
Merge pull request #1916 from girder/reduce-warning
manthey May 21, 2025
5ca700c
Show all annotations when zoomed in
manthey May 21, 2025
75217bc
Merge pull request #1917 from girder/zoomed-in-annotations
manthey May 21, 2025
f5bb65e
Guard against nd2 NotImplementedError and allow bioformats to handle nd2
manthey May 22, 2025
c5ed5fe
Merge pull request #1918 from girder/bioformats-fallback-nd2
manthey May 22, 2025
8a297f3
Handle editing paged annotations.
manthey May 22, 2025
e7270e9
Merge pull request #1919 from girder/edit-paged-annotations
manthey May 23, 2025
404c51c
Merge branch 'master' into edit-views-ui
manthey May 23, 2025
55066e1
Tweak a few source priorities
manthey May 27, 2025
eef9486
Merge pull request #1920 from girder/source-priority
manthey May 27, 2025
35edbd6
Merge branch 'master' into edit-views-ui
manthey May 27, 2025
b6f3eb6
Fix issuing annotation PATCH updates with empty labels
manthey May 27, 2025
e14821f
Merge pull request #1921 from girder/empty-labels
manthey May 27, 2025
a67150a
Merge branch 'master' into edit-views-ui
manthey May 27, 2025
e3355e9
Clearer error messages on bad annotations and don't keep the bad file
manthey May 27, 2025
c1b0a7e
Merge pull request #1923 from girder/better-bad-annotations
manthey May 28, 2025
5ddf1c1
Add checkboxes and empty column header
marySalvi Apr 4, 2025
b508e0c
Add annotation selection function
marySalvi Apr 4, 2025
344630a
Update delete function to delete selected annotations
marySalvi Apr 7, 2025
601c5f6
Update delete dialog for multiple selections
marySalvi Apr 9, 2025
a6ce58c
Update permissions function to effect selected annotations
marySalvi Apr 14, 2025
56fd8a9
Update header download icon to download selected annotations
marySalvi Apr 15, 2025
db2ed09
Move annotation list actions to table header
marySalvi Apr 22, 2025
9f45a99
Disable global annotation actions until selected
marySalvi Apr 22, 2025
4f9d896
Fix bug for select all introduced when moving global actions
marySalvi Apr 22, 2025
91bb906
Update tests for UI changes
marySalvi May 5, 2025
28d501b
Guard against undefined annotation ids
marySalvi May 13, 2025
3f79f11
Ensure global controls are activated
marySalvi May 14, 2025
5306bc4
Download annotations to one file when all annotations are selected
marySalvi May 20, 2025
bf7011b
Uncheck global select when individual annotations are unchecked
marySalvi May 21, 2025
062f4c0
Toggle global select when all annotations are toggled
marySalvi May 28, 2025
371416a
Rename variables for improved readability
marySalvi May 28, 2025
96b2e0f
Merge pull request #1884 from girder/979-annotation_list_checkboxes
marySalvi May 28, 2025
d9a1733
Update CHANGELOG.md
manthey May 28, 2025
3598d8a
Histograms Widget (#1924)
annehaley May 28, 2025
27d7ff7
Add the dicom mime-type to the openslide source
manthey May 29, 2025
367a492
Merge pull request #1925 from girder/dicom-mime-type
manthey May 29, 2025
8da883f
Update to handle mypy 1.16.0 changes
manthey May 29, 2025
b3e9624
Merge pull request #1926 from girder/update-for-mypy
manthey May 29, 2025
0c1c7a0
Improve debouncing annotation saves
manthey May 29, 2025
7ec4d25
Merge branch 'improve-save-debounce' into edit-views-ui
manthey May 29, 2025
a5c11a4
Merge pull request #1927 from girder/improve-save-debounce
manthey May 29, 2025
4a09ccd
`getGeospatialRegion` Function (#1922)
annehaley Jun 2, 2025
90a9e41
Improve mongo indices for annotation elements
manthey Jun 3, 2025
98673b0
Merge pull request #1928 from girder/annotationelement-indices
manthey Jun 3, 2025
fc7a29e
Improve creating annotation indices in the background
manthey Jun 3, 2025
3bd881d
Merge pull request #1929 from girder/create-index-background
manthey Jun 3, 2025
45a516c
Merge branch 'master' into edit-views-ui
manthey Jun 3, 2025
989a03d
Make the json representation of some annotation elements more compact
manthey Jun 3, 2025
1cec85f
Merge pull request #1930 from girder/compact-annotation-json
manthey Jun 3, 2025
99438e0
Mark which annotation updates are from fetches
manthey Jun 3, 2025
ef70bdc
Merge pull request #1931 from girder/indicate-annotation-fetches
manthey Jun 3, 2025
5cd4369
Merge branch 'master' into edit-views-ui
manthey Jun 5, 2025
3925edb
Fix a minor typo in a function description
manthey Jun 5, 2025
863bdec
Speed up old annotation maintenance query
manthey Jun 5, 2025
a59c9d0
Merge pull request #1933 from girder/fix-typo
manthey Jun 5, 2025
e6dc7be
Merge pull request #1934 from girder/speed-up-old-annotation
manthey Jun 5, 2025
45353a4
Move the pillow-jpls module out of common install extras.
manthey Jun 12, 2025
83648e8
Merge pull request #1935 from girder/common-set
manthey Jun 13, 2025
dbe2ee2
Reduce some linting warnings
manthey Jun 13, 2025
b83315f
Improve DocumentDB support
manthey Jun 12, 2025
c4d565b
Merge pull request #1936 from girder/linting
manthey Jun 13, 2025
6340f28
Merge pull request #1937 from girder/guard-graph-lookup
manthey Jun 13, 2025
1fadad7
Change the reading method for some file conversions
manthey Jun 13, 2025
ebc511a
Merge pull request #1939 from girder/conversion-priority
manthey Jun 16, 2025
623243a
Better handle images with adjacent files in the same girder item
manthey Jun 19, 2025
318ad3c
Merge pull request #1940 from girder/local-adjacent
manthey Jun 19, 2025
cc6c08c
Improve DocumentDB support
manthey Jun 24, 2025
a3313ed
Merge pull request #1941 from girder/more-documentdb-workarounds
manthey Jun 24, 2025
c4edc54
Merge branch 'master' into edit-views-ui
manthey Jun 24, 2025
1c9be88
Fix updating annotation updated dates in the girder web client
manthey Jun 24, 2025
65404e9
Merge pull request #1942 from girder/annotation-update-dates
manthey Jun 24, 2025
2ce6fa7
Generate a notification on annotation reversion.
manthey Jun 25, 2025
2e41b24
Merge pull request #1943 from girder/revert-notification
manthey Jun 25, 2025
365f58b
Fix openslide reads at lower levels
manthey Jun 25, 2025
394a021
Merge pull request #1944 from girder/openslide-downsample-factor
manthey Jun 25, 2025
946c8e4
Ensure a valid gdal version
manthey Jul 1, 2025
dfe3ebd
Merge pull request #1945 from girder/gdal-version
manthey Jul 1, 2025
ad5cd2a
Improve reading certain tiles via tiff source
manthey Jul 1, 2025
34cfc92
Merge pull request #1946 from girder/harden-tiff-reader
manthey Jul 1, 2025
2515996
Do not check if items are used as annotation elements in DocumentDB
manthey Jul 3, 2025
928e5c2
Drop support for Python 3.8
manthey Jul 3, 2025
44290af
Merge pull request #1949 from girder/annotation-counts-doc-db
manthey Jul 3, 2025
20659af
Merge pull request #1950 from girder/drop-python-3.8
manthey Jul 3, 2025
84c1dee
Update .git-blame-ignore-revs
manthey Jul 3, 2025
571c653
Generalize clearer error messages on jsonschema validation errors.
manthey Jul 3, 2025
0293f5b
Merge pull request #1951 from girder/improve-jsonschema-errors
manthey Jul 7, 2025
ff7db04
Sometimes the annotation PATCH endpoint would report a duplicate ID
manthey Jul 8, 2025
00ac963
Merge pull request #1952 from girder/fix-patch
manthey Jul 8, 2025
e5b7dfb
Multi-source Thin Plate Spline Warping (#1947)
annehaley Jul 8, 2025
04a3d66
Merge branch 'master' into edit-views-ui
manthey Jul 9, 2025
ef238cc
Fix annotation counts issue from #1949.
manthey Jul 9, 2025
f97f85b
Merge pull request #1953 from girder/fix-annotation-counts
manthey Jul 9, 2025
4586f7f
Merge branch 'master' into edit-views-ui
manthey Jul 9, 2025
650642a
Harden reading ometiff that have certain planar configurations
manthey Jul 14, 2025
87ec278
Fix tile extend dimension issue
Harold2017 Jul 16, 2025
bfd133c
Fix tile extend dimension issue while keep tile size
Harold2017 Jul 16, 2025
a5c3800
Merge pull request #1956 from girder/harden-ome-tiff-errors
manthey Jul 16, 2025
86bb045
Add python_requires to all packages
manthey Jul 17, 2025
8a25a2a
Merge pull request #1957 from girder/python-requires
manthey Jul 17, 2025
a65e281
Update the test.Dockerfile to address a CVE
manthey Jul 22, 2025
18713b1
Merge pull request #1958 from girder/update-test-docker
manthey Jul 22, 2025
fe8cbc2
Drop Python3.8 from the test.Dockerfile
manthey Jul 22, 2025
2a958d2
Merge pull request #1960 from girder/update-test-docker
manthey Jul 22, 2025
aeb59e1
Merge pull request #1955 from Harold2017/fix-output-numpy-style
manthey Jul 22, 2025
a978b70
Update CHANGELOG.md
manthey Jul 22, 2025
07c22b3
Bump actions/checkout from 4 to 5
dependabot[bot] Aug 12, 2025
a333f55
Merge pull request #1966 from girder/dependabot/github_actions/action…
manthey Aug 12, 2025
7dad976
Zarr Write: Prevent multiple values for the `overwrite` kwarg (#1965)
annehaley Aug 12, 2025
2931aa0
Eliminate a javascript exception in the histogram viewer
manthey Aug 19, 2025
4d45614
Merge pull request #1967 from girder/guard-histogram
manthey Aug 19, 2025
04ee76a
Add an option to preserve float value dtype in image conversion
manthey Aug 20, 2025
af34c2a
Merge pull request #1968 from girder/converter-keep-floats
manthey Aug 20, 2025
f26c3e8
If you ran the source compare test tool, test order could matter
manthey Aug 21, 2025
5a2d284
Merge pull request #1969 from girder/fix-lisource-compare-order
manthey Aug 21, 2025
a3fef86
Change some internals on how netcdf files without scale are handled
manthey Aug 21, 2025
87b22ef
Merge pull request #1970 from girder/allow-no-scale
manthey Aug 21, 2025
ab67cb8
Specify that gdal and rasterio sources could be multifile
manthey Aug 21, 2025
6921f1c
Merge pull request #1971 from girder/gdal-source-multifile
manthey Aug 21, 2025
b2df349
Support frames in geospatial sources via subdatasets
manthey Aug 20, 2025
c0114c3
Merge pull request #1972 from girder/geospatial-frames
manthey Aug 22, 2025
64d4570
Reduce the size of the test docker image
manthey Sep 3, 2025
dc8d6d1
Merge pull request #1973 from girder/shrink-dockerfile
manthey Sep 3, 2025
c2d36f8
Update a test regarding whether vips can be used for conversion
manthey Sep 15, 2025
54eefc9
Merge pull request #1976 from girder/update-vips-test
manthey Sep 15, 2025
5fa13d5
Speed up annotation centroid queries
manthey Sep 17, 2025
3a817d8
Merge pull request #1981 from girder/speed-up-centroid-query
manthey Sep 17, 2025
aa7d3bc
Merge branch 'master' into edit-views-ui
manthey Sep 17, 2025
9c72e84
Improve large annotation load and display speed
manthey Sep 18, 2025
db78e5c
Merge pull request #1982 from girder/faster-annotation-loads
manthey Sep 18, 2025
734b11e
Merge branch 'master' into edit-views-ui
manthey Sep 18, 2025
de50e14
Don't try to change annotation visibility if it isn't loaded
manthey Sep 18, 2025
4b22497
Merge pull request #1983 from girder/add-guard
manthey Sep 19, 2025
bc55475
Denormalize some values in the annotation collection
manthey Sep 19, 2025
c98a111
Merge pull request #1984 from girder/annotation-indices
manthey Sep 23, 2025
31d32b1
Improve indices for annotationelement queries
manthey Sep 19, 2025
fea733a
Merge pull request #1985 from girder/improve-annotationelement-query
manthey Sep 23, 2025
46d7527
Use some raw bson handling to speed up annotationelement serialization
manthey Sep 19, 2025
615f669
Merge pull request #1986 from girder/annotation-speed-ups
manthey Sep 23, 2025
d38f675
Skip adjacent DICOM file search during import to improve performance
PaulHax Sep 24, 2025
9db1fe6
Merge branch 'master' into edit-views-ui
manthey Sep 25, 2025
1617c61
Merge pull request #1987 from PaulHax/dicom-import-perf
PaulHax Sep 25, 2025
38208c4
Update CHANGELOG.md
manthey Sep 25, 2025
5c80599
Merge branch 'master' into edit-views-ui
manthey Sep 25, 2025
829ed9a
Improve indices used in large image associated files in girder
manthey Sep 29, 2025
03390ea
Merge pull request #1988 from girder/large-image-atatched-indices
manthey Sep 29, 2025
b6aec79
Merge branch 'master' into edit-views-ui
manthey Sep 30, 2025
17736cc
Update to work with the most recent wsidicom
manthey Oct 1, 2025
464b2a8
Speed up serialization of centroids
manthey Oct 1, 2025
052b665
Merge pull request #1989 from girder/wsidicom-version
manthey Oct 1, 2025
ad62849
Merge pull request #1990 from girder/faster-centroids
manthey Oct 1, 2025
a0f9d90
Merge branch 'master' into edit-views-ui
manthey Oct 1, 2025
9bbfefb
Fix some raw bson handling
manthey Oct 2, 2025
fa32f38
Merge pull request #1991 from girder/fix-semiraw
manthey Oct 2, 2025
c0ceb2f
Merge branch 'master' into edit-views-ui
manthey Oct 2, 2025
af2e014
Handle a recent change in pylibtiff
manthey Oct 6, 2025
68ad4cd
Merge pull request #1992 from girder/handle-new-pylibtiff
manthey Oct 6, 2025
7cae121
Merge branch 'master' into edit-views-ui
manthey Oct 6, 2025
59b8f99
Satisfy the new B905 warning about zip
manthey Oct 8, 2025
c411a71
Ignore B905 for now.
manthey Oct 8, 2025
6e29c0c
Merge pull request #1994 from girder/satisfy-b905
manthey Oct 8, 2025
d6b1c4f
Increase the detail threshold for large annotations
manthey Oct 8, 2025
150e837
Merge pull request #1995 from girder/max-details
manthey Oct 8, 2025
d06a203
Merge branch 'master' into edit-views-ui
manthey Oct 8, 2025
744cd3a
Fix typo in recursive option
marySalvi Oct 7, 2025
be4fdac
Add python 3.14 to our test.Dockerfile
manthey Oct 9, 2025
8ea399b
Merge pull request #1996 from girder/prelude-python-314
manthey Oct 9, 2025
d046b09
Update pre-commit versions
manthey Oct 9, 2025
2b69ebd
Merge pull request #1997 from girder/update-pre-commit-versions
manthey Oct 9, 2025
a2b3952
Merge pull request #1993 from girder/create_large_image-typo_fix
marySalvi Oct 9, 2025
7b5a235
When overlaying many image annotations, some showed artifacts
manthey Oct 9, 2025
346775d
Merge pull request #1998 from girder/many-image-overlay
manthey Oct 9, 2025
e8af6cb
Merge branch 'master' into edit-views-ui
manthey Oct 9, 2025
c04f102
Remove locking in reading nd2 tiles
manthey Sep 15, 2025
8f01031
Fix annotation caching with different users
manthey Oct 9, 2025
628785d
Merge pull request #1999 from girder/annotation-access
manthey Oct 10, 2025
38fcfa8
Merge pull request #1977 from girder/nd2-tile-locking
manthey Oct 10, 2025
350b94a
Add one of the optional packages to requirements-dev
manthey Oct 9, 2025
085c825
Merge pull request #2000 from girder/adjust-req-dev
manthey Oct 10, 2025
bdd22fa
Merge branch 'master' into edit-views-ui
manthey Oct 10, 2025
e1ec1d4
Harden a test
manthey Oct 15, 2025
25c67cf
Merge pull request #2002 from girder/harden-test
manthey Oct 15, 2025
f1add90
Get a pixel from multiple frames in a single REST call
manthey Oct 15, 2025
33e873f
Fix bioformats processing of MONOCHROME1 dicom data
manthey Feb 20, 2025
662f793
Merge pull request #2003 from girder/pixels-per-frame
manthey Oct 15, 2025
56d7f42
Merge pull request #1834 from girder/fix-bioformats-dicom-monochrome1
manthey Oct 15, 2025
4bdef2f
Merge branch 'master' into edit-views-ui
manthey Oct 15, 2025
4aa2b57
Load some sources early in girder
manthey Oct 16, 2025
bf11311
Merge pull request #2004 from girder/load-order
manthey Oct 16, 2025
5ee959f
Add another index to speed up deleting large images in Girder
manthey Oct 17, 2025
0dd1005
Merge pull request #2005 from girder/more-indices
manthey Oct 17, 2025
da91134
Satisfy bugbear B042
manthey Oct 27, 2025
d9d74bf
Merge pull request #2007 from girder/linting
manthey Oct 27, 2025
47dabe9
Guard a missing data field in pixelmap annotation actions
manthey Oct 27, 2025
13e424f
Merge pull request #2010 from girder/guard-missing-data
manthey Oct 27, 2025
84f6896
Add a guard against out of bound pixelmap access.
manthey Oct 28, 2025
2cb1596
Merge pull request #2011 from girder/guard-pixelmap
manthey Oct 28, 2025
23f0106
Merge branch 'master' into edit-views-ui
manthey Oct 28, 2025
3b81a1d
Increase the maximum number of annotation elements in data plot
manthey Oct 30, 2025
2c843b2
Merge pull request #2012 from girder/data-plot-max-elements
manthey Oct 31, 2025
9a86bb8
Add more mimetypes
manthey Nov 10, 2025
b247081
Merge pull request #2013 from girder/more-mime-types
manthey Nov 10, 2025
59649f1
Merge branch 'master' into edit-views-ui
manthey Nov 12, 2025
20b57e5
Make it easier to rebind annotation models
manthey Nov 17, 2025
1e32380
Merge pull request #2014 from girder/rebind-annotation
manthey Nov 17, 2025
652bcbf
Merge branch 'master' into edit-views-ui
manthey Nov 17, 2025
48be6b0
Fixed an issue emitting geojson annotations with rotated rectangles
manthey Nov 21, 2025
1299e3e
Merge pull request #2015 from girder/fix-geojson-rectangle
manthey Nov 21, 2025
e5aa1b6
Bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
c56f5cf
Merge pull request #2016 from girder/dependabot/github_actions/action…
manthey Nov 25, 2025
b5e0540
Fix a typo in a comment in the test.Dockerfile
manthey Nov 25, 2025
8bbefdb
Update pre-commit hook versions
manthey Nov 25, 2025
c171bcd
Merge pull request #2017 from girder/typo
manthey Nov 25, 2025
7290dca
Merge pull request #2018 from girder/update-pre-commit-versions
manthey Nov 25, 2025
8a56e9a
fix: In Jupyter, set edge value of tilesource to '#00000000'
annehaley Nov 25, 2025
bf5e635
fix: Add `type: ignore` comment
annehaley Nov 25, 2025
9acdf43
Satisfy bugbear rule 043
manthey Dec 1, 2025
3986e7e
Add support for patterned polygon annotations
manthey Dec 1, 2025
066463e
Merge pull request #2021 from girder/bugbear-043
manthey Dec 2, 2025
b0069b3
Merge pull request #2020 from girder/polygon-pattern
manthey Dec 2, 2025
f94061a
Merge branch 'master' into edit-views-ui
manthey Dec 2, 2025
35c2120
fix: Add check to ensure caching is disabled before setting edge
annehaley Dec 3, 2025
7118862
refactor: Move `RequestManager` class definition out of `launch_tile…
annehaley Dec 3, 2025
181c2ab
Merge branch 'master' into jupyter-edges
annehaley Dec 3, 2025
2a3fdd1
Merge pull request #2019 from girder/jupyter-edges
annehaley Dec 3, 2025
46a1d2c
Add Python 3.14
manthey Oct 9, 2025
9125167
Merge pull request #2022 from girder/python-314
manthey Dec 3, 2025
7fe19de
Merge branch 'master' into edit-views-ui
manthey Dec 3, 2025
638d2ec
Update CHANGELOG for version 1.33.6
manthey Dec 5, 2025
dfd28cd
Lint dockerfiles using pre-commit and hadolint
manthey Dec 8, 2025
0312200
Merge pull request #2025 from girder/lint-dockerfiles
manthey Dec 8, 2025
3f44235
Update python3.14 tests for latest rasterio
manthey Dec 8, 2025
f9836df
Merge pull request #2026 from girder/rasterio-py314
manthey Dec 15, 2025
ee9f822
Bump python from 3.13-slim to 3.14-slim
dependabot[bot] Oct 13, 2025
e10e013
Merge pull request #2001 from girder/dependabot/docker/python-3.14-slim
manthey Dec 16, 2025
d11ec80
Update the test dockerfile to address a CVE and make it smaller
manthey Dec 31, 2025
6e186e9
Merge pull request #2027 from girder/test-dockerfile
manthey Dec 31, 2025
956aa63
Make test dockerfile smaller
manthey Dec 31, 2025
eae9aa8
Merge pull request #2028 from girder/test-dockerfile
manthey Dec 31, 2025
15e6615
When reading raw files via the PIL source, fix handling uint16 data
manthey Jan 7, 2026
388e415
Merge pull request #2030 from girder/fix-raw-16
manthey Jan 8, 2026
dac7c2a
Refactored internal code to use contextlib.suppress where appropriate
manthey Jan 8, 2026
3f5808f
Merge pull request #2031 from girder/contextlib-suppress
manthey Jan 8, 2026
ff08885
Drop Python 3.9 support
manthey Jan 8, 2026
0abba56
Merge pull request #2032 from girder/drop-python39
manthey Jan 8, 2026
3ba923e
Fix copied annotation permissions
manthey Jan 8, 2026
d039649
Merge pull request #2033 from girder/copy-annot-permissions
manthey Jan 9, 2026
2b6ca37
Merge branch 'master' into edit-views-ui
manthey Jan 9, 2026
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
89 changes: 53 additions & 36 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ commands:
tox:
description: "Run tox"
parameters:
env:
toxenv:
type: string
environ:
type: string
default: ""
steps:
- run:
name: Upgrade pip
Expand All @@ -25,9 +28,10 @@ commands:
name: Run tests via tox
# Piping through cat does less buffering of the output but can
# consume the exit code
# command: PYTEST_ADDOPTS=--forked tox -e << parameters.env >> | cat; test ${PIPESTATUS[0]} -eq 0
# command: PYTEST_ADDOPTS="--reruns=3 --numprocesses=0" tox -e << parameters.env >> | cat; test ${PIPESTATUS[0]} -eq 0
command: COVERAGE_CORE=sysmon PYTEST_NUMPROCESSES=3 PYTEST_ADDOPTS="--reruns=3" tox -e << parameters.env >> | cat; test ${PIPESTATUS[0]} -eq 0
# command: PYTEST_ADDOPTS=--forked tox -e << parameters.toxenv >> | cat; test ${PIPESTATUS[0]} -eq 0
# command: PYTEST_ADDOPTS="--reruns=3 --numprocesses=0" tox -e << parameters.toxenv >> | cat; test ${PIPESTATUS[0]} -eq 0
command: _JAVA_OPTIONS="-Xmx2g" LARGE_IMAGE_CACHE_TILESOURCE_MAXIMUM=3 COVERAGE_CORE=sysmon PYTEST_NUMPROCESSES=3 PYTEST_ADDOPTS="--reruns=3" << parameters.environ >> tox -e << parameters.toxenv
>> | cat; test ${PIPESTATUS[0]} -eq 0
switchpython:
description: "Upgrade python"
parameters:
Expand All @@ -38,7 +42,8 @@ commands:
name: Upgrade pyenv
command: |
sudo rm -rf /opt/circleci/.pyenv
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
sudo bash -c 'curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | PYENV_ROOT=/opt/circleci/.pyenv bash'
sudo chmod -R 777 /opt/circleci/.pyenv/
pyenv install --list list
- run:
name: Use pyenv to install python
Expand Down Expand Up @@ -75,7 +80,7 @@ commands:
docker-compose -f ./.circleci/dcm4chee/auth-docker-compose.yml up -d
export DICOMWEB_TEST_URL=http://localhost:8008/dcm4chee-arc/aets/DCM4CHEE/rs
echo "export DICOMWEB_TEST_URL=$DICOMWEB_TEST_URL" >> $BASH_ENV
pip install dicomweb_client 'python-keycloak<4.1'
pip install dicomweb_client tenacity 'python-keycloak<4.1'

# Wait up to 60 seconds for keycloak to be ready
echo 'Waiting for keycloak to start...'
Expand Down Expand Up @@ -114,13 +119,21 @@ commands:
command: |
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
- restore_cache:
name: Restore nvm cache
key: v1-nvm-cache-<< parameters.node >>
- run:
name: Switch node versions
command: |
nvm install << parameters.node >>
nvm alias default << parameters.node >>
NODE_DIR=$(dirname $(which node))
echo "export PATH=$NODE_DIR:\$PATH" >> $BASH_ENV
- save_cache:
name: Save nvm cache
key: v1-nvm-cache-<< parameters.node >>
paths:
- /opt/circleci/.nvm/.cache
- run:
name: Check node versions
command: |
Expand Down Expand Up @@ -152,73 +165,75 @@ jobs:
command: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push girder/tox-and-node:latest
py38:
py310:
machine:
image: ubuntu-2204:current
resource_class: large
steps:
- checkout
- allservices:
version: "3.8"
version: "3.10"
node: v14
- tox:
env: test-py38
toxenv: test-py310
- coverage
- store_artifacts:
path: build/test/artifacts
py39:
py311:
machine:
image: ubuntu-2204:current
resource_class: large
steps:
- checkout
- allservices:
version: "3.9"
version: "3.11"
node: v14
- tox:
env: test-py39
toxenv: test-py311
- coverage
- store_artifacts:
path: build/test/artifacts
py310:
py312:
machine:
image: ubuntu-2204:current
resource_class: large
steps:
- checkout
- allservices:
version: "3.10"
version: "3.12"
node: v14
- tox:
env: test-py310
toxenv: test-py312
- coverage
- store_artifacts:
path: build/test/artifacts
py311:
py313:
machine:
image: ubuntu-2204:current
resource_class: large
steps:
- checkout
- allservices:
version: "3.11"
version: "3.13"
node: v14
- tox:
env: test-py311
toxenv: test-py313
# environ: TOX_VERBOSE=4 TOX_PREFER_BINARY=1
- coverage
- store_artifacts:
path: build/test/artifacts
py312:
py314:
machine:
image: ubuntu-2204:current
resource_class: large
steps:
- checkout
- allservices:
version: "3.12"
version: "3.14"
node: v14
- tox:
env: test-py312
toxenv: test-py314
# environ: TOX_VERBOSE=4 TOX_PREFER_BINARY=1
- coverage
- store_artifacts:
path: build/test/artifacts
Expand All @@ -233,7 +248,7 @@ jobs:
name: Permissions for link checker
command: find /root -type d -exec chmod 755 {} \+
- tox:
env: docs,lint,lintclient,notebook
toxenv: docs,lint,lintclient,notebook
- store_artifacts:
path: build/docs
- persist_to_workspace:
Expand All @@ -245,7 +260,7 @@ jobs:
steps:
- checkout
- tox:
env: compare-py311
toxenv: compare-py313
- store_artifacts:
path: build/tox/compare.txt
- store_artifacts:
Expand All @@ -256,7 +271,7 @@ jobs:
steps:
- checkout
- tox:
env: type
toxenv: type
wheels:
executor: toxandnode
steps:
Expand Down Expand Up @@ -337,35 +352,35 @@ workflows:
- master
# Create a branch of this name to push to docker hub
- testdocker
- py38:
- py310:
filters:
tags:
only: /^v.*/
branches:
ignore:
- gh-pages
- py39:
- py311:
filters:
tags:
only: /^v.*/
branches:
ignore:
- gh-pages
- py310:
- py312:
filters:
tags:
only: /^v.*/
branches:
ignore:
- gh-pages
- py311:
- py313:
filters:
tags:
only: /^v.*/
branches:
ignore:
- gh-pages
- py312:
- py314:
filters:
tags:
only: /^v.*/
Expand Down Expand Up @@ -410,26 +425,28 @@ workflows:
- release:
requires:
- check_release
- py38
- py39
- py310
- py311
- py312
- py313
- py314
- lint_and_docs
- type
- wheels
filters:
tags:
only: /^v.*/
branches:
only: master
only:
- master
- girder-5
- docs-deploy:
requires:
- py38
- py39
- py310
- py311
- py312
- py313
- py314
- lint_and_docs
- type
- wheels
Expand All @@ -450,11 +467,11 @@ workflows:
only:
- master
jobs:
- py38
- py39
- py310
- py311
- py312
- py313
- py314
- lint_and_docs
- type
- compare
Expand Down
6 changes: 3 additions & 3 deletions .circleci/dcm4chee/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ volumes:
ldap_config: {}
services:
ldap:
image: dcm4che/slapd-dcm4chee:2.6.6-33.0
image: dcm4che/slapd-dcm4chee:2.6.5-31.2
logging:
driver: json-file
options:
Expand All @@ -20,7 +20,7 @@ services:
- ldap_data:/var/lib/openldap/openldap-data
- ldap_config:/etc/openldap/slapd.d
db:
image: dcm4che/postgres-dcm4chee:16.4-33
image: dcm4che/postgres-dcm4chee:15.4-31
logging:
driver: json-file
options:
Expand All @@ -34,7 +34,7 @@ services:
volumes:
- db_data:/var/lib/postgresql/data
arc:
image: dcm4che/dcm4chee-arc-psql:5.33.0
image: dcm4che/dcm4chee-arc-psql:5.31.2
logging:
driver: json-file
options:
Expand Down
8 changes: 6 additions & 2 deletions .circleci/dcm4chee/upload_example_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from dicomweb_client import DICOMwebClient
from pydicom import dcmread
from requests import Session
from tenacity import Retrying, stop_after_attempt, wait_exponential


def upload_example_data(server_url, token=None):
Expand All @@ -22,8 +23,11 @@ def upload_example_data(server_url, token=None):

datasets = []
for url in download_urls:
resp = urllib.request.urlopen(url)
data = resp.read()
for attempt in Retrying(stop=stop_after_attempt(5),
wait=wait_exponential(multiplier=1, min=0.5, max=5)):
with attempt:
resp = urllib.request.urlopen(url)
data = resp.read()
dataset = dcmread(BytesIO(data))
datasets.append(dataset)

Expand Down
7 changes: 6 additions & 1 deletion .circleci/release_pypi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ set -e
ROOTPATH=`pwd`

export SETUPTOOLS_SCM_PRETEND_VERSION=`python -m setuptools_scm | sed "s/.* //"`
if [ ${CIRCLE_BRANCH-:} = "master" ]; then export SETUPTOOLS_SCM_PRETEND_VERSION=`echo $SETUPTOOLS_SCM_PRETEND_VERSION | sed "s/\+.*$//"`; fi
if [ "${CIRCLE_BRANCH-:}" = "master" ]; then
export SETUPTOOLS_SCM_PRETEND_VERSION=`echo $SETUPTOOLS_SCM_PRETEND_VERSION | sed "s/\+.*$//"`
elif [ "${CIRCLE_BRANCH-:}" == "girder-5" ]; then
pip install setuptools-scm
export SETUPTOOLS_SCM_PRETEND_VERSION=$(python -c "import setuptools_scm,re;print(re.sub(r'(\d+\.\d+\.\d+\.)dev(\d+)(\+.*$)', r'\1a\2', setuptools_scm.get_version()))")
fi

python setup.py sdist
pip wheel . --no-deps -w dist
Expand Down
4 changes: 4 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ dcda95e659a4eaa73cae85ab02f1b89059e63c32
f517ecb2b7d8c454d1374156452be42b87ca3fd1
# PR 1604: Handle ruff linting rule changes
e62083dab9a190d94841b3f4089850f43e2c9932
# PR 1757: Several small code readability changes
21989961c1f3dcd9630ca434f7664143dc4c4015
# PR 1950: Drop support for Python 3.8
928e5c21c07c179a76ba29083419f924d7332a13
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository )
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Log into the Container registry
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- "jupyter"
- "jupyter-geo"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Log into the Container registry
Expand Down
Loading