Skip to content
Permalink
Branch: master
Commits on Aug 14, 2019
  1. Comment out non-existent html_static_path in doc (#41)

    sbraz authored and briancurtin committed Aug 14, 2019
    Fixes WARNING: html_static_path entry 'docs/_static' does not exist
Commits on Aug 12, 2019
  1. Release 2.0.7

    briancurtin committed Aug 12, 2019
Commits on Sep 26, 2018
  1. Release 2.0.6

    briancurtin committed Sep 26, 2018
  2. Pass args onto DeprecationWarning initializer (#37)

    briancurtin committed Sep 26, 2018
    If you tried to access the `args` attribute of DeprecatedWarning,
    which it has via the builtin DeprecationWarning base class, it would
    show an empty tuple. This change corrects that and passes the arguments
    on.
    
    Fixes #36
Commits on Jul 9, 2018
Commits on Jul 2, 2018
  1. Release 2.0.5

    briancurtin committed Jul 2, 2018
Commits on Jun 20, 2018
  1. Release 2.0.4

    briancurtin committed Jun 20, 2018
  2. Move sample.py out of the distribution (#29)

    briancurtin committed Jun 20, 2018
    sample.py can live inside the docs directory and work fine without being
    installed. This may require a change on the ReadTheDocs configuration to
    point it at the included docs-requirements.txt file. This also removes
    unittest2 from install_requires.
Commits on Jun 8, 2018
  1. Begin 2.0.4 work

    briancurtin committed Jun 8, 2018
  2. Release 2.0.3

    briancurtin committed Jun 8, 2018
Commits on May 6, 2018
  1. Reference the sample module more obviously (#26)

    briancurtin committed May 6, 2018
    Previously, the sample module was hidden in the middle of a paragraph,
    though if you're reading the section it'll make sense. Since this is a
    single page and the TOC isn't as helpful there with a separate page,
    include a reference to the sample module at the very top to catch
    people's attention more easily.
  2. Remove Python 3.4 from testing (#25)

    briancurtin committed May 6, 2018
    3.7 is almost out and 3.4 is pretty old. 3.5 or 3.6 seem to be the most
    common bases in 3.x world anyway.
  3. Remove Python 3.4 from testing (#25)

    briancurtin committed May 6, 2018
    3.7 is almost out and 3.4 is pretty old. 3.5 or 3.6 seem to be the most
    common bases in 3.x world anyway.
  4. Include sample in installation for proper docs build (#24)

    briancurtin committed May 6, 2018
    * Include sample file in installation
    
    In order to properly build the docs, the package is `python setup.py
    install`'ed on ReadTheDocs, but we weren't including the sample file in
    the distribution so it wasn't showing up.
    
    * Include unittest2 in install_requires
    
    In order for the sample file to be properly importable during the
    `python setup.py install` step of ReadTheDocs, we need to include
    unittest2.
Commits on May 5, 2018
  1. Make deprecation.__version__ the source of truth (#23)

    briancurtin committed May 5, 2018
    This change makes deprecation.__version__ the actual source of where
    versioning comes from, rather than directly in the setup.py file and
    then being incorrect in both the code and docs. As such, this also
    updates the docs to get the version from there.
  2. Fix URLs over length in setup

    briancurtin committed May 5, 2018
  3. Release 2.0.2

    briancurtin committed May 5, 2018
Commits on Apr 12, 2018
  1. Include tests in PyPI tarball (#19)

    dotlambda authored and briancurtin committed Apr 12, 2018
Commits on Apr 10, 2018
  1. Add links to Github for source and bug tracker

    briancurtin committed Apr 10, 2018
Commits on Feb 21, 2018
  1. Release 2.0

    briancurtin committed Feb 21, 2018
    This introduces a bump to the major version as the docstring format has
    changed to use Sphinx's `deprecated` directive rather than our own
    construction of a similar string.
  2. Add a docstring for message_location (#16)

    briancurtin committed Feb 21, 2018
    This change adds an explanation of what message_location can do.
  3. Use deprecated-directive in docstring, add message_location (#15)

    kmuehlbauer authored and briancurtin committed Feb 21, 2018
    This introduces the use of Sphinx's `deprecated` directive in the docstring message. It retains the usual location of inserting the details at the bottom of the string by default, with a new option in `deprecation.message_location` to insert it at near the top when set to `"top"`.
Commits on Feb 19, 2018
  1. Improve warning message handling of None parts (#14)

    briancurtin committed Feb 19, 2018
    * Improve warning message handling of None parts
    
    DeprecationWarning was building strings that could be contained entirely
    with None values, which made for odd and unhelpful messages. This change
    builds up the string messages to only contain parts of the sentence when
    there is relevant data to mention.
    
    Fixes #2
  2. Release 1.2

    briancurtin committed Feb 19, 2018
  3. Retain proper indentation of multiline docstrings (#12)

    briancurtin committed Feb 19, 2018
    * Retain proper indentation of multiline docstrings
    
    This change fixes an issue where multiline docstrings would have their
    body contents indented a level beyond where they should have been,
    causing potential rendering issues with Sphinx and the REPL's builtin
    `help` functionality.
    
    Rather than blindly joining our deprecation details to the docstring, we
    now look to see if it's a multiline docstring or not, and if it is, we
    more carefully append to it. In order to preserve the intended
    indentation, we split the docstring into its summary line and the rest
    of the contents, use `textwrap.dedent` on the contents, and then join
    the summary and contents back up along with the details of the
    deprecation message so they'll all be on the same level.
    
    This includes a change to sample.py with a multiline docstring example,
    which the docs will render.
    
    Fixes #10
Commits on Feb 16, 2018
  1. Update the supported Python versions (#13)

    briancurtin committed Feb 16, 2018
    Travis was already building with up to the 3.7 development branch, but
    the local tox.ini and setup.py were behind. This brings them all up to
    speed.
Commits on Feb 1, 2018
  1. Forgot to bump the version

    briancurtin committed Feb 1, 2018
  2. Merge pull request #8 from dray92/distutils_to_packaging

    briancurtin committed Feb 1, 2018
    Migrate from distutils.version to packaging.version
Commits on Dec 23, 2017
  1. Migrate from distutils.version to packaging.version

    debosmit committed Dec 23, 2017
Commits on Sep 4, 2017
  1. Merge pull request #7 from nicfit/stacklevel

    briancurtin committed Sep 4, 2017
    Show location of deprecation in warning rather than the decorator
Older
You can’t perform that action at this time.