From be736e8ec1e8887bcee9dd3fd4690c8d20ad3bd6 Mon Sep 17 00:00:00 2001 From: Eric Gaudet Date: Wed, 14 Aug 2019 21:20:11 -0700 Subject: [PATCH] EASY [PyText] fix OSS release (#909) Summary: Pull Request resolved: https://github.com/facebookresearch/pytext/pull/909 this is a reconciliation diff to match what was just released to as v0.2.2. There was several issues during this release, and I uploaded to pypi a package that was broken. Pypi does not allow overwriting, so I had to increase the version number. I manually fixed the source (because it was minor packaging and dependency problems) and pushed package 0.2.2. This diff includes those fixes after the fact to make the sources consistent with the release. Changes are: - fix fairseq requirement (separate diff, landing now) - add __init__.py to make qna a module included in the release - amend CHANGELOG to match version numbers Reviewed By: neo315 Differential Revision: D16809591 fbshipit-source-id: 89a8c9804617e73ecbff484e893ce79ad0049094 --- CHANGELOG.md | 7 ++++++- pytext/models/qna/__init__.py | 0 setup.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 pytext/models/qna/__init__.py diff --git a/CHANGELOG.md b/CHANGELOG.md index 94e49cd63..a7a90e378 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## v0.2.1 +## v0.2.2 *Note:* this is the last release with _Deprecated classes. Those classes will be removed in the next release. @@ -76,6 +76,11 @@ - fix BlockShardedTSVDataSource (#832) +## v0.2.1 + +(skipped because of packaging issues) + + ## v0.2.0 *Note:* This release makes the new data handler API the default and deprecates Task and Model classes using the old data handler API. We recommend that you migrate your models to the new API as soon as possible. More details here: http://... diff --git a/pytext/models/qna/__init__.py b/pytext/models/qna/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/setup.py b/setup.py index e24e6cddb..f4a6f19ee 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setuptools.setup( name="pytext-nlp", - version="0.2.1", + version="0.2.2", description="pytorch modeling framework and model zoo for text models", url="https://github.com/facebookresearch/PyText", author="Facebook",