vectordotdev/timber-python

Current 2.1.0 Wheel contains 2.0.0

Opened this issue · 0 comments

I followed the instructions for installing Timber 2.1.0 into my project on https://docs.timber.io/setup/languages/python. When trying to configure my app for STDOUT logging for Heroku, I noticed that timber.Formatter() was not available in the installed package. Upon downloading the wheel package and decompressing, I noticed that timber/init.py stated the version was 2.0.0 (shown below)

Additionally, the STDOUT documentation on the above page states to use timber.Formatter(), which also doesn't exist. Needs updated to reflect the TimberFormatter() module defined in code.

➜  Documents pip download --no-deps --no-cache timber
Collecting timber
  Downloading https://files.pythonhosted.org/packages/13/09/90689fa23678488d9e2bde38f39e34433e6986e53e75390ed74481ff68c8/timber-2.1.0-py2.py3-none-any.whl
  Saved ./timber-2.1.0-py2.py3-none-any.whl
Successfully downloaded timber
➜  Documents unzip timber-2.1.0-py2.py3-none-any.whl
Archive:  timber-2.1.0-py2.py3-none-any.whl
  inflating: timber/__init__.py
  inflating: timber/compat.py
  inflating: timber/flusher.py
  inflating: timber/formatter.py
  inflating: timber/frame.py
  inflating: timber/handler.py
  inflating: timber/helpers.py
  inflating: timber/log_entry.py
  inflating: timber/uploader.py
  inflating: timber-2.1.0.dist-info/LICENSE.md
  inflating: timber-2.1.0.dist-info/METADATA
  inflating: timber-2.1.0.dist-info/WHEEL
  inflating: timber-2.1.0.dist-info/top_level.txt
  inflating: timber-2.1.0.dist-info/RECORD
➜  Documents cat timber/__init__.py
# coding: utf-8
from __future__ import print_function, unicode_literals

from .handler import TimberHandler, DEFAULT_CONTEXT
from .helpers import TimberContext

__version__ = '2.0.0'

context = DEFAULT_CONTEXT