instana / python-sensor

:snake: Python Distributed Tracing & Metrics Sensor for Instana
https://www.instana.com/
MIT License
68 stars 30 forks source link

[Question]: Why is the latest 2.4.0 version not in Pypi #543

Closed hemanthrough closed 3 months ago

hemanthrough commented 3 months ago

Problem Description

It is more of a question as we were not able to find any document on the plans. We wanted to use the latest version of Instana for our service. From the Github releases we see that the latest version 2.4.0 but https://pypi.org/project/instana says 1.38.2, which is 1 year old.

I was wonder why is that so. Is there a plan to push the latest version to pypi.

Minimal, Complete, Verifiable, Example

pip install instana==2.4.0

Python Version

Python 3.10.12

Python Modules

Not required for this issue I suppose

Python Environment

python 3.10
GSVarsha commented 3 months ago

Hi @hemanthrough, You can install the latest version of instana python package by following the instructions here.

The Instana Python package (hosted on PyPI), with version 2.0.0 and earlier, is intended for legacy Python runtime versions (less than or equal to 3.6)

P.S. Commercial support is only for python < 3.10 at the moment. You can write an AHA ticket about it, or contact PM, if you want this to be prioritised. If you are not using asyncio or tornado, then your experience on 3.10 should be comparable to the 3.9.

Thank you for reaching out to us, hope this helps.

hemanth-babu-ibm commented 3 months ago

HI @GSVarsha Thanks for your reply.

The Instana Python package (hosted on PyPI), with version 2.0.0 and earlier, is intended for legacy Python runtime versions (less than or equal to 3.6)

You have already added minimum requirement here https://github.com/instana/python-sensor/blob/master/pyproject.toml#L12, So I am still failing to understand why latest lib is not pushed to pypi. Because the release and artifacts are as it is in Gihub. Asking because installing from git seems little messy from my POV. This may raise some security concerns in the pipeline.

GSVarsha commented 3 months ago

Hi @hemanth-babu-ibm, earlier we had some issues that prevented us from pushing the latest instana packages to PyPI but we are planning to push them in future. In the meantime, we would suggest you to install from GitHub as mentioned in our docs.