Skip to content

Commit 15dcbc9

Browse files
authored
Merge pull request #143 from templateflow/chore/updates
chore: Update Python support, datalad and git-annex deps
2 parents cb7a35b + f5ffaba commit 15dcbc9

File tree

3 files changed

+9
-27
lines changed

3 files changed

+9
-27
lines changed

.circleci/config.yml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build:
99
executor:
1010
name: python/default
11-
tag: '3.12'
11+
tag: '3.13'
1212

1313
# docker:
1414
# - auth:
@@ -38,7 +38,7 @@ jobs:
3838
deploy_pypi:
3939
executor:
4040
name: python/default
41-
tag: '3.12'
41+
tag: '3.13'
4242

4343
# docker:
4444
# - auth:
@@ -60,7 +60,7 @@ jobs:
6060
tests:
6161
executor:
6262
name: python/default
63-
tag: '3.12'
63+
tag: '3.13'
6464

6565
# docker:
6666
# - auth:
@@ -70,37 +70,19 @@ jobs:
7070
environment:
7171
- OSF_MIRROR_PATH: /tmp/data/templateflow
7272
steps:
73-
- restore_cache:
74-
keys:
75-
- annex-v1-{{ epoch }}
76-
- annex-v1-
7773
- run:
78-
name: Install git and git-annex
74+
name: Configure git
7975
command: |
80-
if [[ ! -e "/tmp/cache/git-annex-standalone.tar.gz" ]]; then
81-
wget -O- http://neuro.debian.net/lists/focal.us-ca.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
82-
sudo apt-key add .neurodebian/neurodebian.gpg
83-
sudo apt-key adv --recv-keys --keyserver hkps://keys.openpgp.org 0xA5D32F012649A5A9 || true
84-
sudo apt update && sudo apt-get install -y --no-install-recommends git-annex-standalone
85-
mkdir -p /tmp/cache
86-
tar czvf /tmp/cache/git-annex-standalone.tar.gz /usr/bin/git-annex /usr/bin/git-annex-shell /usr/lib/git-annex.linux
87-
else
88-
sudo tar xzfv /tmp/cache/git-annex-standalone.tar.gz -C /
89-
fi
9076
git config --global user.name "First Last"
9177
git config --global user.email "[email protected]"
9278
93-
- save_cache:
94-
key: annex-v1-{{ epoch }}
95-
paths:
96-
- "/tmp/cache"
97-
9879
- attach_workspace:
9980
at: ~/project
10081

10182
- run:
10283
command: |
10384
python .maint/update_requirements.py
85+
echo git-annex >> dev-requirements.txt
10486
name: Generate requirements.txt
10587

10688
- python/install-packages:

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
needs: build
6464
strategy:
6565
matrix:
66-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
66+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
6767
mode: ['wheel']
6868
include:
6969
- {python-version: '3.11', mode: 'repo'}

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ classifiers = [
1212
"Intended Audience :: Science/Research",
1313
"Topic :: Scientific/Engineering :: Image Recognition",
1414
"License :: OSI Approved :: Apache Software License",
15-
"Programming Language :: Python :: 3.8",
1615
"Programming Language :: Python :: 3.9",
1716
"Programming Language :: Python :: 3.10",
1817
"Programming Language :: Python :: 3.11",
1918
"Programming Language :: Python :: 3.12",
19+
"Programming Language :: Python :: 3.13",
2020
]
2121
license = {file = "LICENSE"}
22-
requires-python = ">=3.8"
22+
requires-python = ">=3.9"
2323
dependencies = [
2424
"pybids >= 0.15.2",
2525
"importlib_resources >= 5.7; python_version < '3.11'",
@@ -45,7 +45,7 @@ test = [
4545
"toml",
4646
]
4747
datalad = [
48-
"datalad ~= 1.0.0"
48+
"datalad >= 1.0.0"
4949
]
5050
doc = [
5151
"nbsphinx",

0 commit comments

Comments
 (0)