Commit Graph

7 Commits

Author SHA1 Message Date
Diego Hurtado d0500c2f8a
Add error handling to opentelemetry-bootstrap -a (#2517)
* Revert "Refactor bootstrap generation (#2101)"

This reverts commit 1ee7261ea7.

* Add error handling to opentelemetry-bootstrap -a

Fixes #2516

---------

Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>
2024-05-14 15:26:31 -05:00
Diego Hurtado 1ee7261ea7
Refactor bootstrap generation (#2101)
* Refactor bootstrap generation

This makes the bootstrap script get the package version directly from
pypi instead of from our lists of packages. This makes sure that the
packages are actually available for the end user to install.

Fixes #2053

* Fix lint

* Fix lint

* Remove aiohttp

* Add missing dependency for aiohttp-client

* Use hatch version
2024-05-02 18:05:49 -05:00
Phillip Verheyden ffbbb4d8e3
Add better debugging if hatch subprocess fails (#1672) 2023-02-15 21:46:56 +05:30
Srikanth Chekuri 6753c872d2
Update tooling (#1330) 2022-09-15 23:42:49 +05:30
Owais Lone 3137c1fa41
Upgrade black (#802) 2021-11-10 20:57:01 +00:00
Owais Lone 9c834f0881
Fix generate_instrumentation_bootstrap script on windows (#527) 2021-06-03 08:49:48 -07:00
Owais Lone 5d1f3201af
Simplify bootstrap and generate code (#514)
- We now automatically generate bootstrap_gen.py file from the list of instrumentations present in the source tree.
- Bootstrap command now uses consumes this auto-generated list instead of keeping it's own local copy.
- We no longer uninstall packages before installing them as instrumentation package no longer specify libraries as dependencies so the edge cases are no longer there.
- We no longer try to install an incompatible version or force upgrade/downgrade an installed version. This used to leave systems in broken states which should happen no more.
2021-06-01 09:19:09 -07:00