Skip to content

Commit

Permalink
fix(arcor2_build): dependency on arcor2_runtime was specified on a wr…
Browse files Browse the repository at this point in the history
…ong place

- Dependency included in 6c08cba was for Python distribution, not for the script.
  • Loading branch information
ZdenekM committed Mar 30, 2023
1 parent a5642b7 commit 49880f5
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The following video by [Kinali](https://www.kinali.cz/en/) shows the use case (o

[README](src/python/arcor2_build/README.md) | [CHANGELOG](src/python/arcor2_build/CHANGELOG.md)

- 2023-02-14: [1.0.0](https://github.com/robofit/arcor2/releases/tag/arcor2_build%2F1.0.0) ([docker](https://hub.docker.com/r/arcor2/arcor2_build/tags?page=1&ordering=last_updated&name=1.0.0), [pypi](https://pypi.org/project/arcor2-build/1.0.0/)).
- 2023-03-30: [1.0.1](https://github.com/robofit/arcor2/releases/tag/arcor2_build%2F1.0.1) ([docker](https://hub.docker.com/r/arcor2/arcor2_build/tags?page=1&ordering=last_updated&name=1.0.1), [pypi](https://pypi.org/project/arcor2-build/1.0.1/)).

### arcor2_build_data

Expand Down
2 changes: 1 addition & 1 deletion compose-files/fit-demo/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ services:
- ARCOR2_CALIBRATION_URL=http://fit-demo-calibration:5014

fit-demo-build:
image: arcor2/arcor2_build:1.0.0
image: arcor2/arcor2_build:1.0.1
container_name: fit-demo-build
depends_on:
fit-demo-project:
Expand Down
2 changes: 1 addition & 1 deletion src/docker/arcor2_build/BUILD
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker_image(name="arcor2_build", repository="arcor2/arcor2_build", image_tags=["1.0.0"])
docker_image(name="arcor2_build", repository="arcor2/arcor2_build", image_tags=["1.0.1"])
5 changes: 1 addition & 4 deletions src/python/arcor2_build/BUILD
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
arcor2_python_distribution(
name="arcor2_build",
description="ARCOR2 Build",
dependencies=[
"src/python/arcor2_build/source",
"src/python/arcor2_runtime", # so the script can import e.g. ResourcesException
],
dependencies=["src/python/arcor2_build/source"],
binaries={"arcor2_build": "src/python/arcor2_build/scripts:build"},
)
6 changes: 6 additions & 0 deletions src/python/arcor2_build/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [1.0.1] - 2023-03-30

### Fixed

- Dependency on `arcor2_runtime` was specified on a wrong place.

## [1.0.0] - 2023-02-14

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/python/arcor2_build/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1
7 changes: 6 additions & 1 deletion src/python/arcor2_build/scripts/BUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
python_sources()

arcor2_pex_binary(name="build")
arcor2_pex_binary(
name="build",
dependencies=[
"src/python/arcor2_runtime", # so the main script can import e.g. ResourcesException
],
)

0 comments on commit 49880f5

Please sign in to comment.