Skip to content

Commit

Permalink
0.10.1 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
dargueta committed Feb 24, 2021
1 parent 23d021c commit 5e517fb
Show file tree
Hide file tree
Showing 13 changed files with 51 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.10.0
current_version = 0.10.1
commit = True
tag = False
tag_name = {new_version}
Expand Down
5 changes: 2 additions & 3 deletions .travis.yml
@@ -1,7 +1,6 @@
dist: bionic
language: python
python:
- '3.5'
- '3.6'
- '3.7'
- '3.8'
Expand All @@ -15,6 +14,6 @@ matrix:
python: '3.8'

install:
- pip3 install -U pip setuptools tox-travis
- pip3 install .[dev]
- pip3 install -U pip setuptools -rdev-requirements.txt tox-travis
- pip3 install .
script: tox
2 changes: 1 addition & 1 deletion LICENSE.txt
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2017-2020, Diego Argueta
Copyright (c) 2017-2021, Diego Argueta
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -31,7 +31,7 @@ $(DOCSTARGET): $(SOURCEFILES) $(DOCSSOURCE)
.PHONY: setup
setup: .python-version setup.cfg
pip3 install -U pip setuptools
pip3 install -Ue .[dev]
pip3 install -Ue . -rtest-requirements.txt -rdev-requirements.txt

.PHONY: lint
lint: $(SOURCEFILES)
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -77,7 +77,7 @@ System Requirements

- This package will *not* work on a `mixed-endian`_ system. Those are pretty rare
nowadays so chances are you won't have a problem.
- This has been tested on Python 3.5-3.8, PyPy3.5, and PyPy3.6.
- This has been tested on Python 3.5-3.9, PyPy3.5, and PyPy3.6.

Sorry, I have no intention of supporting Python 2. Feel free to fork this and do
a backport if you like! I'd be interested to see it and might even contribute.
Expand Down
2 changes: 1 addition & 1 deletion binobj/__init__.py
Expand Up @@ -19,5 +19,5 @@ def __to_version_info():


# Do not modify directly; use ``bumpversion`` command instead.
__version__ = "0.10.0"
__version__ = "0.10.1"
__version_info__ = __to_version_info()
6 changes: 6 additions & 0 deletions dev-requirements.txt
@@ -0,0 +1,6 @@
bump2version~=1.0
Sphinx>=3.0
tox>=3.0
tox-pyenv>=1.0
twine
wheel
13 changes: 13 additions & 0 deletions docs/source/CHANGELOG.rst
@@ -1,6 +1,19 @@
Changelog
=========

0.10.1
------

Released 2021-02-24

Internal Changes
~~~~~~~~~~~~~~~~

* Updated copyright year
* Removed ``dev`` and ``test`` extras as it was confusing sites like
`libraries.io <https://libraries.io>`_ and `pepy.tech <https://pepy.tech>`_, plus it
was never even documented in the first place.

0.10.0
------

Expand Down
6 changes: 3 additions & 3 deletions docs/source/conf.py
Expand Up @@ -55,17 +55,17 @@

# General information about the project.
project = "binobj"
copyright = "2017-2020, Diego Argueta"
copyright = "2017-2021, Diego Argueta"
author = "Diego Argueta"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = "0.10.0"
version = "0.10.1"
# The full version, including alpha/beta/rc tags.
release = "0.10.0"
release = "0.10.1"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
13 changes: 13 additions & 0 deletions lint-requirements.txt
@@ -0,0 +1,13 @@
black==20.8b1
flake8==3.8.4
flake8-black==0.2.1
flake8-blind-except==0.2.0
flake8-bugbear==20.11.1
flake8-comprehensions==3.3.1
flake8-debugger==4.0.0
flake8-isort==4.0.0
flake8-logging-format==0.6.0
# Uncomment this later
# flake8-simplify==0.14.0
isort==5.7.0
mypy==0.812
26 changes: 1 addition & 25 deletions setup.cfg
Expand Up @@ -21,7 +21,7 @@ name: binobj
packages: find:
url: https://www.github.com/dargueta/binobj
; Do not modify the version manually -- use the bumpversion CLI tool
version: 0.10.0
version: 0.10.1

[options]
install_requires:
Expand All @@ -30,30 +30,6 @@ install_requires:
typing-inspect>=0.4.0, <0.7 ; python_version<="3.7"
python_requires: >=3.5

[options.extras_require]
dev:
bump2version~=1.0
Sphinx>=3.0
tox>=3.0
tox-pyenv>=1.0
twine
wheel
lint:
black==20.8b1
flake8==3.8.4
flake8-black==0.2.1
flake8-bugbear==20.11.1
flake8-comprehensions==3.3.1
flake8-debugger==4.0.0
flake8-isort==4.0.0
flake8-logging-format==0.6.0
isort==5.7.0
mypy==0.790
test:
pytest==6.1.2
pytest-cov==2.10.1
pytest-randomly==3.5.0

[options.package_data]
binobj: py.typed

Expand Down
4 changes: 4 additions & 0 deletions test-requirements.txt
@@ -0,0 +1,4 @@
coverage==5.4
pytest==6.2.2
pytest-cov==2.11.1
pytest-randomly==3.5.0
8 changes: 4 additions & 4 deletions tox.ini
@@ -1,21 +1,21 @@
[tox]
envlist = py35, py36, py37, py38, py39, pypy35, pypy36, lint, mypy
envlist = py36, py37, py38, py39, pypy36, lint, mypy
usedevelop = true
passenv = *
skip_missing_interpreters = true

[testenv]
deps = -e.[test]
deps = -rtest-requirements.txt
commands = coverage run -m pytest -vv --cov=binobj {posargs:tests}

[testenv:lint]
basepython = python3.7
deps = -e.[lint]
deps = -rlint-requirements.txt
commands = flake8

[testenv:mypy]
basepython = python3.7
deps = -e.[lint]
deps = -rlint-requirements.txt
commands = mypy --show-error-codes binobj

[pytest]
Expand Down

0 comments on commit 5e517fb

Please sign in to comment.