Skip to content

Commit bb7a036

Browse files
committed
Working tests
1 parent cc5d2ea commit bb7a036

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,19 @@ enter_docker_image: build_docker_image
1313
create_environment:
1414
conda create -n $(ENVIRONMENT_NAME) python=3.10 pip
1515
conda run --no-capture-output -n $(ENVIRONMENT_NAME) python -m pip install uv==0.2.5
16-
conda run --no-capture-output -n $(ENVIRONMENT_NAME) uv pip install -c constraints.txt -e fme[dev]
16+
conda run --no-capture-output -n $(ENVIRONMENT_NAME) uv pip install -c constraints.txt -e .[dev]
1717

1818
test:
1919
pytest --durations 20 .
2020

2121
# For maintainer use only
2222
# requires fme[deploy] to be installed
23-
deploy_pypi:
24-
rm -rf dist/*
23+
24+
build_pypi:
25+
rm -rf dist
2526
python -m build
27+
28+
deploy_pypi: build_pypi
2629
twine upload --repository $(DEPLOY_TARGET) dist/*
2730

2831
deploy_test_pypi: DEPLOY_TARGET = testpypi

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[build-system]
2-
requires = ["setuptools>=61.0", "wheel"]
2+
requires = ["setuptools", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "fme"
7-
version = "2024.10.0"
7+
version = "2024.10.3"
88
description = "Train and evaluate weather/climate model emulators"
99
readme = "README.md"
10-
requires-python = ">=3.8"
10+
requires-python = ">=3.9"
1111
license = {file = "LICENSE"}
1212
authors = [
1313
{name = "Ai2 Climate Modeling", email = "[email protected]"}
@@ -32,7 +32,7 @@ optional-dependencies.docs = { file = "fme/docs/requirements.txt" }
3232
optional-dependencies.deploy = { file = "fme/deploy-requirements.txt" }
3333

3434
[tool.setuptools.packages.find]
35-
where = ["fme"]
35+
where = ["."]
3636

3737
[tool.setuptools.exclude-package-data]
3838
fme = ["*.tests", "*.tests.*", "tests.*", "tests"]

0 commit comments

Comments
 (0)