Skip to content

Commit

Permalink
fluent.runtime 0.2
Browse files Browse the repository at this point in the history
Pick up fluent.syntax 0.17 as requirement, and release something
with Fluent 1.0 Syntax.

Also more dependency updates.
  • Loading branch information
Pike committed Sep 10, 2019
1 parent 687fca7 commit 8ae06a1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ python:
- "nightly"
env:
global:
- FLUENT_RUNTIME_DEFAULT_DEPS="fluent.syntax==0.15 attrs==19.1.0 babel==2.6.0 pytz==2018.9 six==1.12.0"
- FLUENT_RUNTIME_DEFAULT_DEPS="fluent.syntax==0.17 attrs==19.1.0 babel==2.7.0 pytz==2019.2 six==1.12.0"
- FLUENT_SYNTAX_DEFAULT_DEPS="six"
matrix:
- PACKAGE=fluent.syntax
Expand Down
4 changes: 2 additions & 2 deletions fluent.runtime/CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Changelog
=========

fluent.runtime development version (unreleased)
fluent.runtime 0.2
-----------------------------------------------

* Support for Fluent spec 0.8 (``fluent.syntax`` 0.10), including parameterized
* Support for Fluent spec 1.0 (``fluent.syntax`` 0.17), including parameterized
terms.

fluent.runtime 0.1 (January 21, 2019)
Expand Down
4 changes: 2 additions & 2 deletions fluent.runtime/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


setup(name='fluent.runtime',
version='0.1',
version='0.2',
description='Localization library for expressive translations.',
long_description='See https://github.com/projectfluent/python-fluent/ for more info.',
author='Luke Plant',
Expand All @@ -21,7 +21,7 @@
packages=['fluent', 'fluent.runtime'],
# These should also be duplicated in tox.ini and ../.travis.yml
install_requires=[
'fluent.syntax>=0.14,<=0.16',
'fluent.syntax>=0.17,<0.18',
'attrs',
'babel',
'pytz',
Expand Down
11 changes: 5 additions & 6 deletions fluent.runtime/tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# This config is for local testing. It should be duplicated into .travis.yml
[tox]
envlist = {py27,py35,py36,py37,pypy,pypy3}-syntax0.15, py36-syntax0.14, latest
envlist = {py27,py35,py36,py37,pypy,pypy3}-syntax0.17, py36-syntax0.17, latest
skipsdist=True

[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
syntax0.15: fluent.syntax==0.15
syntax0.14: fluent.syntax==0.14
syntax0.17: fluent.syntax==0.17
attrs==19.1.0
babel==2.6.0
pytz==2018.9
babel==2.7.0
pytz==2019.2
six==1.12.0
commands = ./runtests.py

Expand All @@ -22,7 +21,7 @@ deps =
# It's tempting to use '.' here to get 'pip install .'
# Unfortunately it is super slow: https://github.com/pypa/pip/issues/2195
# Instead we copy-paste from setup.py
fluent.syntax>=0.14,<=0.16
fluent.syntax>=0.17,<0.18
attrs
babel
pytz
Expand Down

0 comments on commit 8ae06a1

Please sign in to comment.