Skip to content

Commit

Permalink
Merge pull request #229 from MarcCote/1.3
Browse files Browse the repository at this point in the history
Update version and changelog.
  • Loading branch information
MarcCote authored Mar 20, 2020
2 parents 0957624 + c9f3d6f commit b3498a5
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ tmp/*
*.ipynb_checkpoints
/dist
/wheelhouse
docs/build
docs/src
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,39 @@

This changelog follows the following convention [https://keepachangelog.com/en/1.0.0/](https://keepachangelog.com/en/1.0.0/).

## [1.3.0] - 2020-03-19

### Breaking

- In `tw-make`, can't change grammar options when generating games for TextWorld challenges. [#216](https://github.com/microsoft/TextWorld/pull/216)
- `GameMaker.add_random_quest` -> `GameMaker.generate_random_quests`. [#222](https://github.com/microsoft/TextWorld/pull/222)
- `GameMaker.add_distractors` -> `GameMaker.generate_distractors`. [#222](https://github.com/microsoft/TextWorld/pull/222)

### Removed

- Theme "basic1" (use "basic" instead). [#219](https://github.com/microsoft/TextWorld/pull/219)

### Added

- Add documentation for `tw-play`, `tw-make`, and `tw-extract`. [#227](https://github.com/microsoft/TextWorld/pull/227)
- Add `feedback` field to `EnvInfos`. [#226](https://github.com/microsoft/TextWorld/pull/226)
- Add `walkthrough` property to `Game` objects. [#225](https://github.com/microsoft/TextWorld/pull/225)
- Add `walkthroughs` subcommand to `tw-extract`. [#223](https://github.com/microsoft/TextWorld/pull/223)
- Add `commands` subcommand to `tw-extract`. [#223](https://github.com/microsoft/TextWorld/pull/223)
- Docker image for TextWorld: [marccote19/textworld](https://hub.docker.com/r/marccote19/textworld). [#222](https://github.com/microsoft/TextWorld/pull/222)
- Add `requirements-full.txt` which contains all Python dependencies for TextWorld. [#222](https://github.com/microsoft/TextWorld/pull/222)
- Use `TEXTWORLD_DEBUG=1` to print Inform7 events detected by TextWorld when playing a game. [#217](https://github.com/microsoft/TextWorld/pull/217)
- Add `ChainingOptions.allowed_types` which is complementary to `ChainingOptions.restricted_types`. [#219](https://github.com/microsoft/TextWorld/pull/219)
- Speed up quest generation when `ChainingOptions.create_variables==True` by fixing `r` to corresponding value in `at(P, r)`. [#219](https://github.com/microsoft/TextWorld/pull/219)

### Fixed

- Updated games shipped with the notebooks. [#225](https://github.com/microsoft/TextWorld/pull/225)
- Calling `GameOptions.seeds`, without setting a seed first, will return random seeds. [#222](https://github.com/microsoft/TextWorld/pull/222)
- Challenges shipped with TextWorld now contain a snapshot of the KnowledgeBase to improve reproducibility. [#216](https://github.com/microsoft/TextWorld/pull/216)
- Delete socket files created by `mlglk` on garbage collection. [#215](https://github.com/microsoft/TextWorld/pull/215)
- Issues related to tw-treasure_hunter challenge (#85, #164).

## [1.2.0] - 2020-02-12

### Breaking
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include requirements.txt
include README.md
include LICENSE.txt
include CHANGELOG.md
include CONTRIBUTING.md
include License.md
include setup.sh
Expand Down
2 changes: 1 addition & 1 deletion textworld/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.2.0'
__version__ = '1.3.0'
2 changes: 1 addition & 1 deletion tools/package-impl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e

cd /usr/src/TextWorld

for PYTHON in /opt/python/cp3[5-7]*/bin/python; do
for PYTHON in /opt/python/cp3[5-8]*/bin/python; do
$PYTHON setup.py bdist_wheel -d wheelhouse
done

Expand Down
8 changes: 7 additions & 1 deletion tools/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,17 @@ fi
./setup.sh

# But don't include too much in the source package
rm -rf textworld/thirdparty/I7* textworld/thirdparty/inform7-6M62
# Temporarily move files related Inform7.
#rm -rf textworld/thirdparty/I7* textworld/thirdparty/inform7-6M62
mkdir -p /tmp/tw_release_bkp
mv textworld/thirdparty/I7* textworld/thirdparty/inform7-6M62 /tmp/tw_release_bkp/
make -C textworld/thirdparty/glulx/Git-Glulx clean
make -C textworld/thirdparty/glulx/cheapglk clean
rm -rf build *.egg-info

python setup.py sdist

# Move back the Inform7 related files.
mv /tmp/tw_release_bkp/I7* /tmp/tw_release_bkp/inform7-6M62 textworld/thirdparty/

docker run --dns 1.1.1.1 --rm -v "$PWD":/usr/src/TextWorld quay.io/pypa/manylinux1_x86_64 /usr/src/TextWorld/tools/package-impl.sh

0 comments on commit b3498a5

Please sign in to comment.