Skip to content

Commit

Permalink
📦 Prepare release 0.4.1 📦
Browse files Browse the repository at this point in the history
  • Loading branch information
auredentan committed Sep 8, 2020
1 parent 3419189 commit c51224d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
13 changes: 1 addition & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ changelog: ## Update the changelog in-place with latest commits.
##

.PHONY: check
check: check-docs check-code-quality check-types check-dependencies ## Check it all!
check: check-docs check-code-quality check-types ## Check it all!

.PHONY: check-code-quality
check-code-quality: ## Check the code quality.
Expand All @@ -67,17 +67,6 @@ check-docs: ## Check if the documentation builds correctly.
check-types: ## Check that the code is correctly typed.
@poetry run failprint -t "Type-checking" -- mypy --config-file config/mypy.ini $(PY_SRC)

.PHONY: check-dependencies
check-dependencies: ## Check for vulnerabilities in dependencies.
@SAFETY=safety; \
if ! $(CI); then \
if ! command -v $$SAFETY &>/dev/null; then \
SAFETY="pipx run safety"; \
fi; \
fi; \
poetry export -f requirements.txt --without-hashes | \
poetry run failprint --no-pty -t "Checking dependencies" -- $$SAFETY check --stdin --full-report

##
# Setup
##
Expand Down
9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "starlette-session"
version = "0.4.0"
version = "0.4.1"
description = "A library for backend side session with starlette"
authors = ["Aurélien Dentan <aurelien.dentan@gmail.com>"]
maintainers = ["Aurélien Dentan <aurelien.dentan@gmail.com>"]
Expand All @@ -20,9 +20,14 @@ classifiers = [
python = "^3.6.1"
starlette = "^0.13.8"
itsdangerous = "^1.1.0"
redis = {version = "^3.5.3", optional = true}
aioredis = {version = "^1.3.1", optional = true}
pymemcache = {version = "^3.3.0", optional = true}
redis = {version = "^3.5.3", optional = true}

[tool.poetry.extras]
redis = ["redis"]
pymemcache = ["pymemcache"]
aioredis = ["aioredis"]

[tool.poetry.dev-dependencies]
pytest = "^6.0.1"
Expand Down

0 comments on commit c51224d

Please sign in to comment.