<commit_before>Upgrading Marathon
==================

The Marathon App itself is deployed via Docker using our `continuous
integration workflow <https://jenkins.yelpcorp.com/view/docker-images-marathon/>`_.

Releases for Marathon are `here <https://github.com/mesosphere/marathon/releases>`_.
Any API-breaking changes are usually listed in the changelog.

We use the Marathon Python client
`here <https://github.com/thefactory/marathon-python/blob/master/CHANGELOG.md>`_.


Orchestrating Marathon Upgrades
-------------------------------

In general, the Marathon Python client is not forward compatible with API
changes. This usually drives the orchestration sequence as follows:

#. Upgrade to the latest version of the Python client.

   #. Add the new package to our `pypi <https://trac.yelpcorp.com/wiki/InternalPyPI#AddinganewopensourcepackagetoourInternalPyPi>`_.
   #. Hint: ``$ fetch_python_package marathon==0.6.15``
   #. Bump the version we want in paasta_tool's setup.py and requirements.txt.<commit_msg>Remove docs about adding marathon-python to internal pypi<commit_after>Upgrading Marathon
==================

The Marathon App itself is deployed via Docker using our `continuous
integration workflow <https://jenkins.yelpcorp.com/view/docker-images-marathon/>`_.

Releases for Marathon are `here <https://github.com/mesosphere/marathon/releases>`_.
Any API-breaking changes are usually listed in the changelog.

We use the Marathon Python client
`here <https://github.com/thefactory/marathon-python/blob/master/CHANGELOG.md>`_.


Orchestrating Marathon Upgrades
-------------------------------

In general, the Marathon Python client is not forward compatible with API
changes. This usually drives the orchestration sequence as follows:

#. Upgrade to the latest version of the Python client.

   #. Bump the version we want in paasta_tool's setup.py and requirements.txt.
{'fraction_non_alphanumeric': 0.13022763366860773, 'fraction_numerical': 0.0021175224986765486, 'mean_word_length': 4.135869565217392, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2344496', 'n_tokens_mistral': 544, 'n_tokens_neox': 490, 'n_words': 181}