Python-rapidjson

Latest version: v1.16

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

Scan your dependencies

Page 11 of 11

0.0.11

Not secure
~~~~~~~~~~~~~~~~~~~

* Fix a couple of refcount handling glitches, hopefully targeting `issue
48`__.

__ https://github.com/python-rapidjson/python-rapidjson/issues/48

0.0.10

Not secure
~~~~~~~~~~~~~~~~~~~

* Fix source distribution to contain all required stuff (`PR 64`__)

__ https://github.com/python-rapidjson/python-rapidjson/pull/64

0.0.9

Not secure
~~~~~~~~~~~~~~~~~~

* CI testing on GitHub

* Allow using locally installed RapidJSON library (`issue 60`__)

__ https://github.com/python-rapidjson/python-rapidjson/issues/60

* Bug fixes (`issue 37`__, `issue 51`__, `issue 57`__)

__ https://github.com/python-rapidjson/python-rapidjson/issues/37
__ https://github.com/python-rapidjson/python-rapidjson/issues/51
__ https://github.com/python-rapidjson/python-rapidjson/issues/57

0.0.8

Not secure
~~~~~~~~~~~~~~~~~~

* Use unpatched RapidJSON 1.1 (`PR 46`__)

__ https://github.com/python-rapidjson/python-rapidjson/pull/46

* Handle serialization and deserialization of datetime, date and time
instances (`PR 35`__) and of UUID instances (`PR 40`__)

__ https://github.com/python-rapidjson/python-rapidjson/pull/35
__ https://github.com/python-rapidjson/python-rapidjson/pull/40

* Sphinx based documentation (`PR 44`__)

__ https://github.com/python-rapidjson/python-rapidjson/pull/44

* Refresh benchmarks (`PR 45`__)

__ https://github.com/python-rapidjson/python-rapidjson/pull/45

* Bug fixes (`issue 25`__, `issue 38`__, `PR 43`__)

__ https://github.com/python-rapidjson/python-rapidjson/issues/25
__ https://github.com/python-rapidjson/python-rapidjson/issues/38
__ https://github.com/python-rapidjson/python-rapidjson/pull/43


-*- coding: utf-8 -*-
:Project: python-rapidjson -- Release specific targets
:Author: Lele Gaifax <lelemetapensiero.it>
:License: MIT License
:Copyright: © 2017, 2019, 2020 Lele Gaifax


BUMPER = $(VENVDIR)/bin/bump_version -s simple2
VERSION_TXT := version.txt
VERSION = $(shell cat $(VERSION_TXT))
PACKAGE_NAME = $(shell $(PYTHON) setup.py --name)
TWINE := $(BINDIR)twine

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 STUFF" && 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 minor version number\n"

.PHONY: release
release: assert-master-branch assert-clean-tree
$(BUMPER) $(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 --quiet sdist
$(TWINE) check dist/$(PACKAGE_NAME)-$(VERSION).tar.gz

.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 rapidjson_exact_version.txt
$(PYTHON) setup.py sdist
$(TWINE) upload dist/$(PACKAGE_NAME)-$(VERSION).tar.gz

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

Page 11 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.