Skip to content

Commit 54e9137

Browse files
committed
revert rv dependencies to dev versions
1 parent 0ba6775 commit 54e9137

File tree

13 files changed

+33
-29
lines changed

13 files changed

+33
-29
lines changed

docs/release.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Minor or Major Version Release
9393

9494
.. code-block:: console
9595
96-
scripts/pypi_build
96+
scripts/build_packages
9797
9898
Publish to TestPyPI:
9999

pyproject.toml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,23 @@ keywords = [
2727
"raster",
2828
]
2929
dependencies = [
30-
"rastervision_pipeline==0.31.1",
31-
"rastervision_aws_s3==0.31.1",
32-
"rastervision_aws_batch==0.31.1",
33-
"rastervision_core==0.31.1",
34-
"rastervision_pytorch_learner==0.31.1",
35-
"rastervision_pytorch_backend==0.31.1",
30+
"rastervision_pipeline @ file://${PROJECT_ROOT}/rastervision_pipeline/dist/rastervision_pipeline-0.31.2.dev0-py3-none-any.whl",
31+
"rastervision_aws_s3 @ file://${PROJECT_ROOT}/rastervision_aws_s3/dist/rastervision_aws_s3-0.31.2.dev0-py3-none-any.whl",
32+
"rastervision_aws_batch @ file://${PROJECT_ROOT}/rastervision_aws_batch/dist/rastervision_aws_batch-0.31.2.dev0-py3-none-any.whl",
33+
"rastervision_core @ file://${PROJECT_ROOT}/rastervision_core/dist/rastervision_core-0.31.2.dev0-py3-none-any.whl",
34+
"rastervision_pytorch_learner @ file://${PROJECT_ROOT}/rastervision_pytorch_learner/dist/rastervision_pytorch_learner-0.31.2.dev0-py3-none-any.whl",
35+
"rastervision_pytorch_backend @ file://${PROJECT_ROOT}/rastervision_pytorch_backend/dist/rastervision_pytorch_backend-0.31.2.dev0-py3-none-any.whl",
3636
]
3737

38+
[tool.setuptools.dynamic]
39+
dependencies = { file = ["requirements.in"] }
40+
3841
[project.optional-dependencies]
3942
debugging = []
40-
full = ["rastervision_aws_sagemaker==0.31.1", "rastervision_gdal_vsi==0.31.1"]
43+
full = [
44+
"rastervision_aws_sagemaker @ file://${PROJECT_ROOT}/rastervision_aws_sagemaker/dist/rastervision_aws_sagemaker-0.31.2.dev0-py3-none-any.whl",
45+
"rastervision_gdal_vsi @ file://${PROJECT_ROOT}/rastervision_gdal_vsi/dist/rastervision_gdal_vsi-0.31.2.dev0-py3-none-any.whl",
46+
]
4147
dev = [
4248
"awscli==1.33.40",
4349
"build",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
boto3
2-
rastervision_pipeline==0.31.1
2+
rastervision_pipeline==0.31.2-dev

rastervision_aws_s3/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
boto3
22
botocore
3-
rastervision_pipeline==0.31.1
3+
rastervision_pipeline==0.31.2-dev
44
tqdm
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
rastervision_pipeline==0.31.1
1+
rastervision_pipeline==0.31.2-dev
22
sagemaker

rastervision_core/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pillow
77
pyproj<=3.7.0
88
pystac
99
rasterio
10-
rastervision_pipeline==0.31.1
10+
rastervision_pipeline==0.31.2-dev
1111
scikit-image
1212
scikit-learn
1313
scipy

rastervision_gdal_vsi/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
gdal==3.6.3
2-
rastervision_pipeline==0.31.1
2+
rastervision_pipeline==0.31.2-dev
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
boto3
2-
rastervision_pipeline==0.31.1
2+
rastervision_pipeline==0.31.2-dev

rastervision_pytorch_learner/requirements.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ opencv-python-headless
77
pillow
88
psutil
99
pycocotools
10-
rastervision_core==0.31.1
11-
rastervision_pipeline==0.31.1
10+
rastervision_core==0.31.2-dev
11+
rastervision_pipeline==0.31.2-dev
1212
tensorboard
1313
torch
1414
torchvision

requirements.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ boto3==1.34.155
5858
# rastervision-aws-batch
5959
# rastervision-aws-s3
6060
# rastervision-core
61+
# rastervision-pytorch-backend
6162
# sagemaker
6263
botocore==1.34.158
6364
# via
@@ -89,7 +90,6 @@ click==8.1.7
8990
# cligj
9091
# dask
9192
# rasterio
92-
# rastervision-pipeline
9393
click-plugins==1.1.1
9494
# via rasterio
9595
cligj==0.7.2
@@ -106,8 +106,6 @@ comm==0.2.2
106106
# via
107107
# ipykernel
108108
# ipywidgets
109-
configobj==5.0.9
110-
# via everett
111109
contourpy==1.3.1
112110
# via matplotlib
113111
coverage==7.2.0
@@ -140,8 +138,6 @@ docutils==0.16
140138
# myst-parser
141139
# nbsphinx
142140
# sphinx
143-
everett==3.3.0
144-
# via rastervision-pipeline
145141
executing==2.2.0
146142
# via stack-data
147143
fastjsonschema==2.21.1
@@ -564,7 +560,6 @@ pydantic==2.10.6
564560
# albumentations
565561
# autodoc-pydantic
566562
# pydantic-settings
567-
# rastervision-pipeline
568563
pydantic-core==2.27.2
569564
# via pydantic
570565
pydantic-settings==2.8.1
@@ -654,7 +649,6 @@ requests==2.32.3
654649
# jupyterlab-server
655650
# moto
656651
# pystac-client
657-
# rastervision-pipeline
658652
# responses
659653
# sagemaker
660654
# sphinx
@@ -720,7 +714,6 @@ six==1.16.0
720714
# via
721715
# google-pasta
722716
# python-dateutil
723-
# rastervision-pipeline
724717
# rfc3339-validator
725718
# tensorboard
726719
smdebug-rulesconfig==1.0.1
@@ -824,7 +817,6 @@ tqdm==4.66.5
824817
# rastervision-pytorch-learner (rastervision_pytorch_learner/pyproject.toml)
825818
# rastervision-aws-s3
826819
# rastervision-core
827-
# rastervision-pipeline
828820
# rastervision-pytorch-learner
829821
# sagemaker
830822
traitlets==5.14.3

scripts/pypi_build renamed to scripts/build_packages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function usage() {
2727
}
2828

2929
# Check for command-line arguments
30-
if [[ "$1" == "--help" || "$1" == "-h" ]]; then
30+
if [[ ${1:-} == "--help" || ${1:-} == "-h" ]]; then
3131
usage
3232
exit
3333
fi

scripts/pypi_publish

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ function publish_all() {
6767
}
6868

6969
# Check for command-line arguments
70-
if [[ "$1" == "--help" || "$1" == "-h" ]]; then
70+
if [[ ${1:-} == "--help" || ${1:-} == "-h" ]]; then
7171
usage
7272
exit
7373
fi
7474

7575
# Check if the --test flag is passed
7676
publish_to_test=false
77-
if [[ "$1" == "--test" ]]; then
77+
if [[ ${1:-} == "--test" ]]; then
7878
publish_to_test=true
7979
# Remove the --test flag from the arguments
8080
shift
@@ -87,7 +87,7 @@ if [ "$publish_to_test" = true ]; then
8787
fi
8888

8989
# If actually publishing: prompt for confirmation
90-
if [[ "$1" == "-y" ]]; then
90+
if [[ ${1:-} == "-y" ]]; then
9191
response="y"
9292
else
9393
read -r -p "Actually publish to PyPI? (y/N): " response

scripts/refresh_requirements.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ while [ -h "$SOURCE" ]; do SOURCE="$(readlink "$SOURCE")"; done
1212
SCRIPTS_DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
1313
SRC_DIR="$(cd -P "$(dirname "$SCRIPTS_DIR")" && pwd)"
1414

15+
# re-build package wheels
16+
echo "Rebuilding Raster Vision packages ..."
17+
"$SCRIPTS_DIR"/build_packages >/dev/null 2>/dev/null
18+
echo "Done"
19+
1520
plugins=(
1621
"rastervision_pipeline"
1722
"rastervision_aws_batch"
@@ -32,6 +37,7 @@ done
3237

3338
pushd "$SRC_DIR" >/dev/null
3439

40+
echo "Compiling requirements ..."
3541
uv pip compile \
3642
--refresh --all-extras \
3743
"${toml_files[@]}" \

0 commit comments

Comments
 (0)