Skip to content

Commit

Permalink
Update camera traps version to 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
khsa1 committed Dec 10, 2024
1 parent c794075 commit cd7f112
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "camera-traps"
version = "0.3.3"
edition = "2021"
version = "0.4.0"
edition = "2024"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# its value will be the tag assigned to all images that get built.
# For example:
#
# export TRAPS_REL=0.3.3
# export TRAPS_REL=0.3.
# export TRAPS_REL=0.4.0
# export TRAPS_REL=0.4.
#
# NOTE: Right now, building with tag `latest` is not supported. Instead,
# build a semantic version and then tag the result as latest.
Expand Down
4 changes: 2 additions & 2 deletions external_plugins/image_generating_plugin/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ python = "^3.10"
pillow = "^9.4.0"
pyzmq = "^25.0.0"
tapis-pyevents = "^0.1.0"
tapis-ctevents = "^0.3.1"
tapis-ctevents = "^0.4.0"


[build-system]
Expand All @@ -19,4 +19,4 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry.scripts]
# TODO
image_generating_plugin = 'image_generating_plugin:main'
image_generating_plugin = 'image_generating_plugin:main'
2 changes: 1 addition & 1 deletion external_plugins/image_scoring_plugin/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ traitlets = "5.4.0"
typing-extensions = "4.4.0"
urllib3 = "1.26.14"
wcwidth = "0.2.5"
tapis-ctevents = "^0.3.1"
tapis-ctevents = "^0.4.0"

[build-system]
requires = ["poetry-core"]
Expand Down
4 changes: 2 additions & 2 deletions installer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Important Optional Configurations
* `ct_version`: The release version (i.e., image tag) for
the camera traps software container images.

* Example: 0.3.3
* Example: 0.4.0

* `run_containers_as_user`: Whether to run all containers
as the user's (i.e., the installer's) UID and GID. (Default: true)
Expand Down Expand Up @@ -189,7 +189,7 @@ This is a complete list of all possible configurations.

* `ct_version`: The release version (i.e., image tag) for the camera traps software container images

* Example: 0.3.3
* Example: 0.4.0

* `host_config_dir`: Path on the host where configuration
directory resides.
Expand Down
4 changes: 2 additions & 2 deletions installer/defaults.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# General
ct_version: 0.3.3
ct_version: 0.4.0
host_config_dir: ./config
use_host_pid: true
run_containers_as_user: true
Expand Down Expand Up @@ -54,4 +54,4 @@ ckn_kafka_broker_address: 129.114.35.150
ckn_kafka_broker_port: 9092
ckn_enable_power_monitoring: true
experiment_id:
user_id:
user_id:
8 changes: 4 additions & 4 deletions src/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ A python library for working with the Camera Traps events messages. This library
high-level convenience functions for easily sending and receiving Camera Traps events.

There are two Docker images associated with this package, tapis/camera_traps_py and tapis/camera_traps_py_3.8; each
image provides a tag for each release, for example: tapis/camera_traps_py:0.3.3 and tapis/camera_traps_py_3.8:0.3.3
for the 0.3.3 release.
image provides a tag for each release, for example: tapis/camera_traps_py:0.4.0 and tapis/camera_traps_py_3.8:0.4.0
for the 0.4.0 release.

The images bundle a test file that can be executed directly in the image; for example:

```
# start a container
docker run -it --rm --entrypoint=bash tapis/camera_traps_py:0.3.3
docker run -it --rm --entrypoint=bash tapis/camera_traps_py:0.4.0
# run the tests
python test_ctevents.py
```

The test suite was not written with any test framework so no reporting is provided. Since all that was used was simple
assert statements, if the program executes completely (with no exception output), then the tests have all "passed".
assert statements, if the program executes completely (with no exception output), then the tests have all "passed".
2 changes: 1 addition & 1 deletion src/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tapis-ctevents"
version = "0.3.1"
version = "0.4.0"
description = "A module for working with Camera Traps events in Python."
authors = ["Serena Shah <[email protected]>"]
license = "BSD 3-Clause"
Expand Down

0 comments on commit cd7f112

Please sign in to comment.