forked from Aiven-Open/karapace
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Aiven-Open#947 from Aiven-Open/jjaakola-aiven-migr…
…ate-to-pyproject-toml Migrate to pyproject toml
- Loading branch information
Showing
147 changed files
with
409 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[run] | ||
branch = True | ||
relative_files = True | ||
source = karapace | ||
branch = true | ||
relative_files = true | ||
source = src/karapace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ jobs: | |
labels: | | ||
[email protected] | ||
org.opencontainers.image.url=https://karapace.io | ||
org.opencontainers.image.documentation=https://github.com/aiven/karapace/ | ||
org.opencontainers.image.documentation=https://github.com/Aiven-Open/karapace/ | ||
org.opencontainers.image.vendor=Aiven | ||
org.opencontainers.image.licenses=Apache-2.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
include karapace/*.py | ||
graft src | ||
include karapace.json | ||
include karapace.unit | ||
include tests/*.py | ||
include scripts/* | ||
include README.rst | ||
include version.py | ||
include setup.py | ||
include setup.cfg | ||
include pyproject.toml | ||
include LICENSE | ||
include MANIFEST.in | ||
include *.so | ||
|
||
recursive-exclude examples *~ *.pyc \.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ Karapace | |
|
||
``karapace``. Your Apache Kafka® essentials in one tool. | ||
|
||
An `open-source <https://github.com/aiven/karapace/blob/master/LICENSE>`_ implementation | ||
An `open-source <https://github.com/Aiven-Open/karapace/blob/master/LICENSE>`_ implementation | ||
of `Kafka REST <https://docs.confluent.io/platform/current/kafka-rest/index.html#features>`_ and | ||
`Schema Registry <https://docs.confluent.io/platform/current/schema-registry/index.html>`_. | ||
|
||
|
@@ -81,14 +81,14 @@ override the ``bootstrap_uri`` config value, one would use the environment varia | |
``KARAPACE_BOOTSTRAP_URI``. Here_ you can find an example configuration file to give you an idea | ||
what you need to change. | ||
|
||
.. _`Here`: https://github.com/aiven/karapace/blob/master/karapace.config.json | ||
.. _`Here`: https://github.com/Aiven-Open/karapace/blob/master/karapace.config.json | ||
|
||
Source install | ||
-------------- | ||
|
||
Alternatively you can do a source install using:: | ||
|
||
python setup.py install | ||
pip install . | ||
|
||
Quickstart | ||
========== | ||
|
@@ -651,7 +651,7 @@ If you don't need or want to have the Karapace images around you can now proceed | |
Installed from Sources | ||
---------------------- | ||
|
||
If you installed Karapace from the sources via ``python setup.py install``, it can be uninstalled with the following ``pip`` command:: | ||
Karapace is installed ``pip install .``, it can be uninstalled with the following ``pip`` command:: | ||
|
||
pip uninstall karapace | ||
|
||
|
@@ -664,12 +664,6 @@ and install the required software for development. Use ``make unit-tests`` and | |
``make test`` to execute both. You can set ``PYTEST_ARGS`` to customize the | ||
execution (e.g. ``PYTEST_ARGS=--maxfail=1 make test``). | ||
|
||
By default ``pyenv`` is expected to be installed and in ``PATH``. This ensures | ||
on all platforms that arbitrary Python versions can be used for development. It | ||
is possible to overwrite this by setting ``PYENV`` to something else (e.g. | ||
``PYENV=python3 make venv`` to simply use the global Python executable). The | ||
default Python version is defined in ``.python-version``. | ||
|
||
Karapace currently depends on various system software to be installed. The | ||
installation of these is automated for some operation systems, but not all. At | ||
the time of writing Java, the Protobuf Compiler, and the Snappy shared library | ||
|
@@ -695,11 +689,8 @@ targets that correctly clean the ``runtime`` directory without deleting it, but | |
keep this in mind whenever you are not using ``make`` (e.g. running tests from | ||
your IDE). | ||
|
||
Note that the pre-commit checks are currently not working with the default | ||
Python version. This is because isort dropped Python 3.7 support. You have to | ||
use at least Python 3.8 for the pre-commit checks. Use ``pipx`` or ``brew`` or | ||
… to install pre-commit and use the global installation, there is also no | ||
dependency on it. | ||
Use ``pipx`` or ``brew`` to install ``pre-commit`` and use the global installation, | ||
there is also no dependency on it. | ||
|
||
License | ||
======= | ||
|
@@ -714,7 +705,7 @@ Contact | |
======= | ||
|
||
Bug reports and patches are very welcome, please post them as GitHub issues | ||
and pull requests at https://github.com/aiven/karapace . Any possible | ||
and pull requests at https://github.com/Aiven-Open/karapace . Any possible | ||
vulnerabilities or other serious issues should be reported directly to the | ||
maintainers <[email protected]>. | ||
|
||
|
@@ -735,6 +726,6 @@ to them for pioneering the concept. | |
.. _`Aiven`: https://aiven.io/ | ||
|
||
Recent contributors are listed on the GitHub project page, | ||
https://github.com/aiven/karapace/graphs/contributors | ||
https://github.com/Aiven-Open/karapace/graphs/contributors | ||
|
||
Copyright ⓒ 2021 Aiven Ltd. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.