Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyPI wheel contains old analytics package #325

Closed
ltm opened this issue Sep 28, 2023 · 2 comments
Closed

PyPI wheel contains old analytics package #325

ltm opened this issue Sep 28, 2023 · 2 comments

Comments

@ltm
Copy link

ltm commented Sep 28, 2023

The PyPI wheel of segment-analytics-python 2.2.3 (and 2.2.0) contains the old analytics 1.x package in addition to the new segment.analytics 2.x package:

$ unzip -l segment_analytics_python-2.2.3-py2.py3-none-any.whl
Archive:  segment_analytics_python-2.2.3-py2.py3-none-any.whl
  Length      Date    Time    Name
---------  ---------- -----   ----
     1965  03-13-2023 16:38   analytics/__init__.py
    11049  03-13-2023 16:38   analytics/client.py
     4416  03-13-2023 16:38   analytics/consumer.py
     2351  03-13-2023 16:38   analytics/request.py
     2412  03-13-2023 16:38   analytics/utils.py
       22  03-13-2023 16:42   analytics/version.py
     2607  03-13-2023 16:38   analytics/test/__init__.py
    12986  06-12-2023 18:28   analytics/test/client.py
     7182  03-13-2023 16:38   analytics/test/consumer.py
     1155  03-13-2023 16:38   analytics/test/module.py
     2022  03-13-2023 16:38   analytics/test/request.py
     2231  03-13-2023 16:38   analytics/test/utils.py
     2030  06-12-2023 18:28   segment/analytics/__init__.py
    11207  06-12-2023 18:28   segment/analytics/client.py
     4457  06-12-2023 18:28   segment/analytics/consumer.py
     2367  06-12-2023 18:28   segment/analytics/request.py
     2468  06-12-2023 18:28   segment/analytics/utils.py
       18  06-12-2023 18:28   segment/analytics/version.py
     1078  06-12-2023 18:37   segment_analytics_python-2.2.3.dist-info/LICENSE
     1607  06-12-2023 18:37   segment_analytics_python-2.2.3.dist-info/METADATA
      110  06-12-2023 18:37   segment_analytics_python-2.2.3.dist-info/WHEEL
       18  06-12-2023 18:37   segment_analytics_python-2.2.3.dist-info/top_level.txt
     1931  06-12-2023 18:37   segment_analytics_python-2.2.3.dist-info/RECORD
---------                     -------
    77689                     23 files
$ unzip -p segment_analytics_python-2.2.3-py2.py3-none-any.whl analytics/version.py
VERSION = '1.4.post1'

This likely happened inadvertently by releasing from a dirty Git repository and is likely to cause confusion such as #238.

@lukedyer-peak
Copy link

We're facing this causing issues too (especially with #310 merged causing an import error)

@MichaelGHSeg
Copy link
Contributor

The new 2.3.2 release addresses this issue. Sorry for the delay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants