Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove third party dependencies #1

Merged
merged 2 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "0.0.1"
current_version = "0.0.2"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
Expand All @@ -17,3 +17,9 @@ message = "Bump version: {current_version} → {new_version}"
commit_args = ""
[[tool.bumpversion.files ]]
filename = "./django_kafka/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'
[[tool.bumpversion.files ]]
filename = "./pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
2 changes: 1 addition & 1 deletion django_kafka/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

logger = logging.getLogger(__name__)

__version__ = "0.0.1"
__version__ = "0.0.2"

__all__ = [
"autodiscover",
Expand Down
7 changes: 2 additions & 5 deletions example/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
django==5.0.6 # famous web framework
confluent-kafka==2.4.0
avro==1.11.3
fastavro==1.9.4
requests==2.32
bump-my-version==0.21.1 # for making releases
confluent-kafka[avro, schema-registry]==2.4.0
bump-my-version==0.24.1 # for making releases
ruff==0.4.8 # speed of light linter
setuptools==70.0.0 # without it PyCharm fails to index packages inside the Docker container
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ build-backend = "setuptools.build_meta"

[project]
name = "django-kafka"
version = "0.0.1"
version = "0.0.2"
dependencies = [
"django>=4.0,<6.0",
"confluent-kafka==2.4.0",
"avro==1.11.3",
"fastavro==1.9.4",
"requests==2.32.2"
"confluent-kafka[avro, schema-registry]==2.4.0"
]
requires-python = ">=3.11"
authors = [
Expand Down
Loading