Skip to content

Commit

Permalink
Merge pull request #10 from corydodt/9-delete-deprecations
Browse files Browse the repository at this point in the history
#9 removed deprecated code
  • Loading branch information
corydodt authored Jul 3, 2019
2 parents 487d51e + deb45d4 commit 306f154
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 47 deletions.
1 change: 0 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ branch = false
source = codado

omit =
*/kleinish/*
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ var/
*.egg
MANIFEST
/.cache
/.DS_Store

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,14 @@ $ python setup.py sdist bdist_wheel
$ twine upload dist/*
```

For point releases: Make sure there is a series-0.x branch in github, and branch from that branch.

## Change Log
### [0.7.0] - 2019.07.03
#### Removed:
- codado.kleinish (deprecated since 0.5) (#9)
- codado.py.doc (deprecated since 0.5) (#9)

### [0.6.1] - 2018.09.12
#### Added:
- Codado fully supports Python 3.6+
Expand Down Expand Up @@ -75,6 +82,7 @@ $ twine upload dist/*
- 0.4: Initial public usable release

[Crosscap]: https://github.com/corydodt/Crosscap
[0.7.0]: https://github.com/corydodt/Codado/compare/release-0.6.1...release-0.7.0
[0.6.1]: https://github.com/corydodt/Codado/compare/release-0.5.2...release-0.6.1
[0.5.2]: https://github.com/corydodt/Codado/compare/release-0.5.1...release-0.5.2
[0.5.1]: https://github.com/corydodt/Codado/compare/release-0.5.0...release-0.5.1
Expand Down
5 changes: 4 additions & 1 deletion codado.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
{
"path": "."
}
]
],
"settings": {
"python.pythonPath": "/Users/cory/.virtualenvs/codado3/bin/python"
}
}
2 changes: 1 addition & 1 deletion codado/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "0.6.1"
__version__ = "0.7.0"
__all__ = ["__version__"]
11 changes: 0 additions & 11 deletions codado/kleinish/__init__.py

This file was deleted.

6 changes: 0 additions & 6 deletions codado/kleinish/openapi.py

This file was deleted.

6 changes: 0 additions & 6 deletions codado/kleinish/tree.py

This file was deleted.

13 changes: 0 additions & 13 deletions codado/py.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import inspect
import os
import random
import warnings

from builtins import object
from past.builtins import basestring
Expand All @@ -17,8 +16,6 @@

from pytz import utc

from crosscap.doc import Documentation as _Documentation, doc as _doc


if hasattr(inspect, 'getfullargspec'): # pragma: nocover
getargspec = inspect.getfullargspec
Expand All @@ -29,16 +26,6 @@
EMOJI = u'👻👾🤖😼💫👒🎩🐶🦎🐚🌸🌲🍋🥝🥑🥐🍿🥄⛺🚂🚲🌈🏆🎵💡✏🖍📌🛡♻'


def Documentation(*a, **kw): # pragma: nocover
warnings.warn("from codado.py import Documentation is DEPRECATED. Import from crosscap instead.", DeprecationWarning)
return _Documentation(*a, **kw)


def doc(obj): # pragma: nocover
warnings.warn("from codado.py import doc is DEPRECATED. Import from crosscap instead.", DeprecationWarning)
return _doc(obj)


def eachMethod(decorator, methodFilter=lambda fName: True):
"""
Class decorator that wraps every single method in its own method decorator
Expand Down
13 changes: 7 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
attrs>=18.2.0
coverage
crosscap
future
jinja2
crosscap>=0.4
future>=0.17.1
jinja2>=2.10,<2.11
mock>=2.0.0,<2.1.0
pytest-flakes
pytest-cov
pytest-flakes
pytest-twisted
python-dateutil==2.4.0
pytz>=2015.4
pyyaml
pyyaml>=3.13,<3.14
tox
twine
twisted
twisted>=18.9.0
wrapt
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name = 'Codado',
packages = ['codado', 'codado.kleinish'],
packages = ['codado', ],
version = _version['__version__'],
description = 'A collection of system development utilities',
author = 'Cory Dodt',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py36
envlist = py27,py3

[testenv]
commands = pytest --cov-fail-under=100 -vv
Expand Down

0 comments on commit 306f154

Please sign in to comment.