sectionate 0.3.0__tar.gz → 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sectionate-0.3.1/.github/workflows/ci.yml +50 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/PKG-INFO +4 -4
- {sectionate-0.3.0 → sectionate-0.3.1}/README.md +2 -2
- {sectionate-0.3.0 → sectionate-0.3.1}/binder/environment.yml +1 -1
- {sectionate-0.3.0 → sectionate-0.3.1}/ci/environment.yml +1 -1
- {sectionate-0.3.0 → sectionate-0.3.1}/docs/environment.yml +1 -1
- {sectionate-0.3.0 → sectionate-0.3.1}/pyproject.toml +2 -2
- {sectionate-0.3.0 → sectionate-0.3.1}/sectionate/version.py +1 -1
- {sectionate-0.3.0 → sectionate-0.3.1}/.github/workflows/publish-to-pypi.yml +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/.gitignore +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/LICENSE +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/sectionate/__init__.py +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/sectionate/catalog/Atlantic_transport_arrays.json +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/sectionate/gridutils.py +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/sectionate/section.py +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/sectionate/tests/test_convergent_transport.py +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/sectionate/tests/test_section.py +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/sectionate/tests/test_section_class.py +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/sectionate/tests/test_section_cornercases.py +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/sectionate/tests/test_utils.py +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/sectionate/tracers.py +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/sectionate/transports.py +0 -0
- {sectionate-0.3.0 → sectionate-0.3.1}/sectionate/utils.py +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
pull_request:
|
|
8
|
+
branches:
|
|
9
|
+
- master
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
defaults:
|
|
16
|
+
run:
|
|
17
|
+
shell: bash -l {0}
|
|
18
|
+
strategy:
|
|
19
|
+
fail-fast: false
|
|
20
|
+
matrix:
|
|
21
|
+
python-version: ['3.12', '3.13', '3.14']
|
|
22
|
+
|
|
23
|
+
steps:
|
|
24
|
+
- name: Cancel previous runs
|
|
25
|
+
uses: styfle/cancel-workflow-action@0.7.0
|
|
26
|
+
with:
|
|
27
|
+
access_token: ${{ github.token }}
|
|
28
|
+
- name: Checkout source
|
|
29
|
+
uses: actions/checkout@v2
|
|
30
|
+
|
|
31
|
+
- name: Conda setup
|
|
32
|
+
uses: conda-incubator/setup-miniconda@v2
|
|
33
|
+
with:
|
|
34
|
+
channels: conda-forge
|
|
35
|
+
mamba-version: '*'
|
|
36
|
+
python-version: ${{ matrix.python-version }}
|
|
37
|
+
activate-environment: test_env_sectionate
|
|
38
|
+
auto-activate-base: false
|
|
39
|
+
|
|
40
|
+
- name: Set up conda environment
|
|
41
|
+
run: |
|
|
42
|
+
mamba env update -f ci/environment.yml
|
|
43
|
+
python -m pip install -e .
|
|
44
|
+
- name: Conda list information
|
|
45
|
+
run: |
|
|
46
|
+
conda env list
|
|
47
|
+
conda list
|
|
48
|
+
- name: Test with pytest
|
|
49
|
+
run: |
|
|
50
|
+
pytest
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sectionate
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: A package to sample grid-consistent sections from ocean model outputs
|
|
5
5
|
Project-URL: Homepage, https://github.com/MOM6-community/sectionate
|
|
6
6
|
Project-URL: Bugs/Issues/Features, https://github.com/MOM6-community/sectionate/issues
|
|
@@ -10,7 +10,7 @@ License-File: LICENSE
|
|
|
10
10
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
11
11
|
Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Requires-Python: >=3.
|
|
13
|
+
Requires-Python: >=3.12
|
|
14
14
|
Requires-Dist: dask
|
|
15
15
|
Requires-Dist: numba
|
|
16
16
|
Requires-Dist: numpy
|
|
@@ -29,10 +29,10 @@ Quick Start Guide
|
|
|
29
29
|
|
|
30
30
|
**For users: minimal installation within an existing environment**
|
|
31
31
|
```bash
|
|
32
|
-
pip install
|
|
32
|
+
pip install sectionate
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
**For developers: installing from scratch using `conda`**
|
|
35
|
+
**For developers: installing dependencies from scratch using `conda`**
|
|
36
36
|
```bash
|
|
37
37
|
git clone https://github.com/MOM6-community/sectionate.git
|
|
38
38
|
cd sectionate
|
|
@@ -8,10 +8,10 @@ Quick Start Guide
|
|
|
8
8
|
|
|
9
9
|
**For users: minimal installation within an existing environment**
|
|
10
10
|
```bash
|
|
11
|
-
pip install
|
|
11
|
+
pip install sectionate
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
**For developers: installing from scratch using `conda`**
|
|
14
|
+
**For developers: installing dependencies from scratch using `conda`**
|
|
15
15
|
```bash
|
|
16
16
|
git clone https://github.com/MOM6-community/sectionate.git
|
|
17
17
|
cd sectionate
|
|
@@ -7,7 +7,7 @@ authors = [
|
|
|
7
7
|
]
|
|
8
8
|
description = "A package to sample grid-consistent sections from ocean model outputs"
|
|
9
9
|
readme = "README.md"
|
|
10
|
-
requires-python = ">=3.
|
|
10
|
+
requires-python = ">=3.12"
|
|
11
11
|
classifiers = [
|
|
12
12
|
"Programming Language :: Python :: 3",
|
|
13
13
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
@@ -38,4 +38,4 @@ allow-direct-references = true
|
|
|
38
38
|
path = "sectionate/version.py"
|
|
39
39
|
|
|
40
40
|
[tool.hatch.build]
|
|
41
|
-
exclude = ["examples/**", "data/**"]
|
|
41
|
+
exclude = ["examples/**", "data/**"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|