Skip to content

Commit

Permalink
DXE-4304 Merge pull request #69 from akamai/release/v2.0.0
Browse files Browse the repository at this point in the history
v2.0.0
  • Loading branch information
artbookspirit authored Nov 13, 2024
2 parents 59bc13e + df59a4e commit 036f057
Show file tree
Hide file tree
Showing 21 changed files with 1,402 additions and 873 deletions.
16 changes: 16 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
History
-------

2.0.0 (2024-11-13)
++++++++++++++++++

* Breaking changes
- discontinue support for Python 2.7, the minimum supported version is now Python 3.9
- the ``__init__`` function of ``EdgeGridAuth`` and ``EdgeGridAuthHeaders`` now accepts ``headers_to_sign`` and ``max_body`` as keyword-only arguments
- change signatures of these methods in the ``EdgeGridAuthHeaders`` class: ``make_auth_header``, ``sign_request`` and ``make_data_to_sign``

* Improvements
- update several dependencies in ``setup.py``
- start generating files ``requirements.txt`` and ``dev-requirements.txt`` using ``pip-compile``,
so that they contain the full set of project dependencies

* Bug fixes
- fix handling file objects in the request body for ``EdgeGridAuth``

1.3.1 (2022-09-22)
++++++++++++++++++

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ recommend that a file or class name and description of purpose be included on
the same "printed page" as the copyright notice for easier identification within
third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2024 Akamai Technologies, Inc. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
27 changes: 27 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
PYTHON = python3

.PHONY: help
help:
@echo " install install all dev and production dependencies (virtualenv is created as venv)"
@echo " clean remove unwanted stuff"
@echo " test run tests"

.PHONY: install
install:
$(PYTHON) -m venv venv; . venv/bin/activate; python -m pip install -r dev-requirements.txt

.PHONY: clean
clean:
rm -fr test
rm -fr venv

.PHONY: test
test:
@. venv/bin/activate; pytest --junitxml $(CURDIR)/test/tests.xml --cov-report xml:$(CURDIR)/test/coverage/cobertura-coverage.xml --cov=akamai

.PHONY: lint
lint:
@. venv/bin/activate; pylint ./akamai

.PHONY: all
all: clean install test lint
Loading

0 comments on commit 036f057

Please sign in to comment.