Skip to content

Commit

Permalink
Remove optional telemetry group (#181)
Browse files Browse the repository at this point in the history
This PR removes the optional `telemetry` group from `pyproject.toml`.
The corresponding packages are now directly included without having them
as a separate group.

This was necessary since there were problems with installing `baybe` via
`poetry` since the `dependencies` contained this explicit dependency. To
enable installation with poetry, this was thus changed.
  • Loading branch information
AdrianSosic authored Mar 27, 2024
2 parents 7b12ffb + 558fa67 commit 21bb25f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Support for Python 3.12
- Upgraded syntax to Python 3.9

### Fixed
- `telemetry` dependency is no longer a group (enables Poetry installation)

## [0.8.1] - 2024-03-11
### Added
- Better human readable `__str__` representation of campaign
Expand Down
19 changes: 8 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,14 @@ dependencies = [
"scipy>=1.10.1",
"setuptools-scm>=7.1.0",
"torch>=1.13.1",
"baybe[telemetry]",

# Telemetry:
"opentelemetry-sdk>=1.16.0",
"opentelemetry-propagator-aws-xray>=1.0.0",
"opentelemetry-exporter-otlp>=1.16.0",
"opentelemetry-sdk-extension-aws>=2.0.0",
"requests>=2.31.0", # see AUDIT NOTE
"urllib3>=2.0.7", # see AUDIT NOTE
]

[project.urls]
Expand Down Expand Up @@ -80,7 +87,6 @@ dev = [
"baybe[mypy]",
"baybe[onnx]",
"baybe[simulation]",
"baybe[telemetry]",
"baybe[test]",
"pip-audit>=2.5.5",
"tox>=4.10.0",
Expand Down Expand Up @@ -130,15 +136,6 @@ simulation = [
"xyzpy>=1.2.1",
]

telemetry = [
"opentelemetry-sdk>=1.16.0",
"opentelemetry-propagator-aws-xray>=1.0.0",
"opentelemetry-exporter-otlp>=1.16.0",
"opentelemetry-sdk-extension-aws>=2.0.0",
"requests>=2.31.0", # see AUDIT NOTE
"urllib3>=2.0.7", # see AUDIT NOTE
]

test = [
"baybe[lint]", # The tests also include linting the code in the docs
"hypothesis[pandas]>=6.88.4",
Expand Down

0 comments on commit 21bb25f

Please sign in to comment.