Metapensiero.reactive

Latest version: v0.6

Safety actively analyzes 619324 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.6

~~~~~~~~~~~~~~~~

- documentation updates.
- add a ``computation`` decorator.


-*- mode: makefile-gmake; coding: utf-8 -*-
:Project: metapensiero.reactive -- a unobtrusive and light reactive system
:Created: dom 09 ago 2015 12:57:35 CEST
:Author: Alberto Berti <albertometapensiero.it>
:License: GNU General Public License version 3 or later
:Copyright: Copyright (C) 2015 Alberto Berti


PYTHON := $(BINDIR)python
BUMPER := $(BINDIR)bump_version
VERSION_TXT := version.txt
VERSION = $(shell cat $(VERSION_TXT))

help::
printf "\nRelease management\n"
printf "==================\n\n"

.PHONY: assert-clean-tree
assert-clean-tree:
(test -z "$(shell git status -s --untracked=no)" || \
(echo "UNCOMMITTED STAFF" && false))

.PHONY: assert-master-branch
assert-master-branch:
(test "$(shell git rev-parse --abbrev-ref HEAD)" = "master" || \
(echo "NOT IN MASTER BRANCH" && false))

help::
printf "release\n\tBump version number\n"

.PHONY: release
release: assert-master-branch assert-clean-tree
$(BUMPER) --field minor $(VERSION_TXT)
echo ">>>"
echo ">>> Do your duties (update CHANGES.rst for example), then"
echo ">>> execute “make tag-release”."
echo ">>>"

help::
printf "tag-release\n\tComplete the release tagging the working tree\n"

.PHONY: tag-release
tag-release: assert-master-branch check-release-date check-long-description-markup
git commit -a -m "Release $(VERSION)"
git tag -a -m "Version $(VERSION)" v$(VERSION)

.PHONY: check-long-description-markup
check-long-description-markup:
$(PYTHON) setup.py check -r -s

.PHONY: check-release-date
check-release-date:
fgrep -q "$(VERSION) ($(shell date --iso-8601))" CHANGES.rst \
|| (echo "ERROR: release date of version $(VERSION) not set in CHANGES.rst"; exit 1)

help::
printf "pypi-upload\n\tUpload the source distribution to PyPI\n"

.PHONY: pypi-upload
pypi-upload: assert-master-branch assert-clean-tree
$(PYTHON) setup.py sdist upload

help::
printf "publish\n\tUpload to PyPI, push changes and tags to the remote repo\n"

.PHONY: publish
publish: pypi-upload
git push
git push --tags

0.5

~~~~~~~~~~~~~~~~

- require flush only when there are dependents.

0.4

~~~~~~~~~~~~~~~~

- fix a small bug in __delete__().

0.3

~~~~~~~~~~~~~~~~

- more tests.
- allow __set__ if generator is not defined.
- refactoring of Value's code.
- Fix behavior if Value's accessed when tracking isn't active.
- Provide a mechanism to halt tracking while computing if system
suspension is needed (``gevent``, ``asyncio``).
- Updates to the doc.
- Code is now tested in a pre-production environment.

0.2

~~~~~~~~~~~~~~~~

- small doc fixes.

0.1

~~~~~~~~~~~~~~~~

- Initial effort.
- Added testing with tox and ``gevent`` and ``asyncio``.
- Firt cut of the docs.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.