Skip to content

Commit

Permalink
release v1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
lanpa committed Oct 5, 2019
1 parent c2a8e73 commit 370bb55
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
History
=======
1.9 (2019-10-04)
-----------------
* Use new JIT backend for pytorch. This works better with pytorch 1.2 and 1.3
* Supports hparams plugin
* add_embedding now supports numpy array input

1.8 (2019-07-05)
-----------------
* Draw label text on image with bounding box provided.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Write TensorBoard events with simple function call.
* Support `scalar`, `image`, `figure`, `histogram`, `audio`, `text`, `graph`, `onnx_graph`, `embedding`, `pr_curve`, `mesh`, `hyper-parameters`
and `video` summaries.

* requirement for `demo_graph.py` is tensorboardX>=1.6 and pytorch>=1.1
* requirement for `demo_graph.py` is tensorboardX>=1.9 and pytorch>=1.2

* [FAQ](https://github.com/lanpa/tensorboardX/wiki)

Expand Down
4 changes: 4 additions & 0 deletions run_pytest.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pip install pytest boto3 moto onnx tensorboard matplotlib

PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python pytest

11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def run(self):
history = history_file.read()

preparing_PyPI_package = False
version_git = version = '1.8'
version_git = version = '1.9'

if not preparing_PyPI_package:
if os.path.exists('.git'):
Expand Down Expand Up @@ -88,10 +88,11 @@ def run(self):


# checklist: update History.rst readme.md
# change preparing_PyPI_package to True
# remove __version__ = "1.old" in __init__.py
# commit
# add tag
# change preparing_PyPI_package to True, and version_git
# remove __version__ = "1.old" in __init__.py, update the version number
# python setup.py sdist bdist_wheel --universal
# check the generated tar.gz file
# git commit -m 'prepare for release'
# add tag
# twine upload dist/*
# push commit
2 changes: 1 addition & 1 deletion tensorboardX/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
from .torchvis import TorchVis
from .writer import FileWriter, SummaryWriter

__version__ = "1.8" # will be overwritten if run setup.py
__version__ = "1.9" # will be overwritten if run setup.py

2 comments on commit 370bb55

@mdraw
Copy link
Contributor

@mdraw mdraw commented on 370bb55 Oct 7, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lanpa Could you please upload a .tar.gz of 1.9 on PyPI and tag the release in git (or tag it on https://github.com/lanpa/tensorboardX/releases)?
I need the tarball or alternatively a git tag to update https://github.com/conda-forge/tensorboardx-feedstock to the last version.

@lanpa
Copy link
Owner Author

@lanpa lanpa commented on 370bb55 Oct 9, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I forgot to push the tag. Thanks for the reminder.

Please sign in to comment.