Skip to content

Tags: ngton/python-sensor

Tags

v60

Toggle v60's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
fix: Re-enable activation without codechange (`AUTOWRAPT_BOOTSTRAP=in…

…stana`)

Before commit `c222d96`, the `setup.py` contained the following
entry point specification:
````
     entry_points={
             'instana':  ['string = instana:load'],
````
And **entrypoints** are a must have when using `autowrapt`.
Quote from the [autowrapt documentation](
https://github.com/GrahamDumpleton/autowrapt/blob/d4770e4f511c19012055deaab68ef0ec8aa54ba4/README.rst?plain=1#L11
):
"list the names of the setuptools **entrypoints** you wish to activate"

This can also be observed in the calls made by `autowrapt`:
````
  <frozen importlib._bootstrap>(991)_find_and_load()
  <frozen importlib._bootstrap>(975)_find_and_load_unlocked()
  <frozen importlib._bootstrap>(671)_load_unlocked()
  <frozen importlib._bootstrap_external>(843)exec_module()
  <frozen importlib._bootstrap>(219)_call_with_frames_removed()
  /usr/local/lib/python3.8/site.py(580)<module>()
-> main()
  /usr/local/lib/python3.8/site.py(575)main()
-> execusercustomize()
  /usr/local/lib/python3.8/site-packages/autowrapt/bootstrap.py(46)_execusercustomize()
-> _register_bootstrap_functions()
  /usr/local/lib/python3.8/site-packages/autowrapt/bootstrap.py(27)_register_bootstrap_functions()
-> discover_post_import_hooks(name)
  /usr/local/lib/python3.8/site-packages/wrapt/importer.py(97)discover_post_import_hooks()
-> for entrypoint in pkg_resources.iter_entry_points(group=group):
  /usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py(642)<genexpr>()
-> for entry in dist.get_entry_map(group).values()
> /usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py(2853)get_entry_map()
````

Which fails to fill up the `ep_map`, since the `entry_points.txt` metadata is empty:
````
   2853             ep_map = self._ep_map = EntryPoint.parse_map(
   2854                 self._get_metadata('entry_points.txt'), self
   2855             )
````

Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>

v2.5.2

Toggle v2.5.2's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
fix: Re-enable activation without codechange (`AUTOWRAPT_BOOTSTRAP=in…

…stana`)

Before commit `c222d96`, the `setup.py` contained the following
entry point specification:
````
     entry_points={
             'instana':  ['string = instana:load'],
````
And **entrypoints** are a must have when using `autowrapt`.
Quote from the [autowrapt documentation](
https://github.com/GrahamDumpleton/autowrapt/blob/d4770e4f511c19012055deaab68ef0ec8aa54ba4/README.rst?plain=1#L11
):
"list the names of the setuptools **entrypoints** you wish to activate"

This can also be observed in the calls made by `autowrapt`:
````
  <frozen importlib._bootstrap>(991)_find_and_load()
  <frozen importlib._bootstrap>(975)_find_and_load_unlocked()
  <frozen importlib._bootstrap>(671)_load_unlocked()
  <frozen importlib._bootstrap_external>(843)exec_module()
  <frozen importlib._bootstrap>(219)_call_with_frames_removed()
  /usr/local/lib/python3.8/site.py(580)<module>()
-> main()
  /usr/local/lib/python3.8/site.py(575)main()
-> execusercustomize()
  /usr/local/lib/python3.8/site-packages/autowrapt/bootstrap.py(46)_execusercustomize()
-> _register_bootstrap_functions()
  /usr/local/lib/python3.8/site-packages/autowrapt/bootstrap.py(27)_register_bootstrap_functions()
-> discover_post_import_hooks(name)
  /usr/local/lib/python3.8/site-packages/wrapt/importer.py(97)discover_post_import_hooks()
-> for entrypoint in pkg_resources.iter_entry_points(group=group):
  /usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py(642)<genexpr>()
-> for entry in dist.get_entry_map(group).values()
> /usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py(2853)get_entry_map()
````

Which fails to fill up the `ep_map`, since the `entry_points.txt` metadata is empty:
````
   2853             ep_map = self._ep_map = EntryPoint.parse_map(
   2854                 self._get_metadata('entry_points.txt'), self
   2855             )
````

Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>

v59

Toggle v59's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
fix: Ensure apply_gevent_monkey_patch when webhook is active

Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>

v58

Toggle v58's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
fix: Ensure apply_gevent_monkey_patch when webhook is active

Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>

v2.5.1

Toggle v2.5.1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
fix: Ensure apply_gevent_monkey_patch when webhook is active

Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>

v57

Toggle v57's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
test: Cover gevent autotracing

Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>

v2.5.0

Toggle v2.5.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
test: Cover gevent autotracing

Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>

v56

Toggle v56's commit message
chore(version): Bump version to 2.4.0

Signed-off-by: Varsha GS <varsha.gs@ibm.com>

v2.4.0

Toggle v2.4.0's commit message
chore(version): Bump version to 2.4.0

Signed-off-by: Varsha GS <varsha.gs@ibm.com>

v55

Toggle v55's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Bump version to 2.3.0

Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>