Skip to content

Commit

Permalink
Merge pull request #1 from RegioHelden/remove-third-party-dependencies
Browse files Browse the repository at this point in the history
Remove third party dependencies
  • Loading branch information
stefan-cardnell-rh authored Jul 3, 2024
2 parents f0b8751 + d6f8a7d commit e4064ca
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
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

0 comments on commit e4064ca

Please sign in to comment.