openbrokerapi 4.5.8__tar.gz → 4.7.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017 Eruvanos
3
+ Copyright (c) 2023 Maic Siemering
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openbrokerapi
3
- Version: 4.5.8
3
+ Version: 4.7.0
4
4
  Summary: A python package for the V2 CF Service Broker API and Open Broker API (version 2.13+)
5
5
  Home-page: https://openbrokerapi.readthedocs.io/
6
6
  License: MIT
@@ -18,15 +18,16 @@ Classifier: Programming Language :: Python :: 3.8
18
18
  Classifier: Programming Language :: Python :: 3.9
19
19
  Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
21
22
  Classifier: Programming Language :: Python :: 3 :: Only
22
23
  Provides-Extra: docs
23
24
  Provides-Extra: gevent
24
25
  Provides-Extra: gunicorn
25
- Requires-Dist: Flask (>=2.2.3,<3.0.0)
26
- Requires-Dist: Sphinx (>=6.1.3,<7.0.0) ; extra == "docs"
27
- Requires-Dist: gevent (>=22.10.2,<23.0.0) ; extra == "gevent"
28
- Requires-Dist: gunicorn (>=20.1.0,<21.0.0) ; extra == "gunicorn"
29
- Requires-Dist: sphinx-rtd-theme (>=1.2.0,<2.0.0) ; extra == "docs"
26
+ Requires-Dist: Flask (>=3.0.3,<4.0.0)
27
+ Requires-Dist: Sphinx (>=6.1.3,<8.0.0) ; extra == "docs"
28
+ Requires-Dist: gevent (>=22.10.2,<25.0.0) ; extra == "gevent"
29
+ Requires-Dist: gunicorn (>=20.1,<23.0) ; extra == "gunicorn"
30
+ Requires-Dist: sphinx-rtd-theme (>=1.2,<3.0) ; extra == "docs"
30
31
  Project-URL: Changelog, https://github.com/eruvanos/openbrokerapi/blob/main/CHANGELOG.rst
31
32
  Project-URL: Documentation, https://openbrokerapi.readthedocs.io/
32
33
  Project-URL: Issue Tracker, https://github.com/eruvanos/openbrokerapi/issues
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "openbrokerapi"
3
- version = "4.5.8"
3
+ version = "4.7.0"
4
4
  description = "A python package for the V2 CF Service Broker API and Open Broker API (version 2.13+)"
5
5
  authors = ["Maic Siemering <maic@siemering.tech>"]
6
6
  license = "MIT"
@@ -42,6 +42,7 @@ classifiers = [
42
42
  'Programming Language :: Python :: 3.9',
43
43
  'Programming Language :: Python :: 3.10',
44
44
  'Programming Language :: Python :: 3.11',
45
+ 'Programming Language :: Python :: 3.12',
45
46
  ]
46
47
 
47
48
 
@@ -52,18 +53,18 @@ classifiers = [
52
53
 
53
54
  [tool.poetry.dependencies]
54
55
  python = "^3.8"
55
- Flask = "^2.2.3"
56
- Sphinx = {version = "^6.1.3", optional = true}
57
- sphinx-rtd-theme = {version = "^1.2.0", optional = true}
58
- gevent = {version = "^22.10.2", optional = true}
59
- gunicorn = {version = "^20.1.0", optional = true}
56
+ Flask = ">=3.0.3,<4.0.0"
57
+ Sphinx = {version = ">=6.1.3,<8.0.0", optional = true}
58
+ sphinx-rtd-theme = {version = ">=1.2,<3.0", optional = true}
59
+ gevent = {version = ">=22.10.2,<25.0.0", optional = true}
60
+ gunicorn = {version = ">=20.1,<23.0", optional = true}
60
61
 
61
62
 
62
63
  [tool.poetry.dev-dependencies]
63
- pytest = "^7.3.1"
64
+ pytest = "^8.2.1"
64
65
  Flask-Testing = "^0.8.1"
65
- requests = "^2.29.0"
66
- black = "^23.3.0"
66
+ requests = "^2.32.2"
67
+ black = "^24.4.2"
67
68
  pre-commit = "^3.2.2"
68
69
 
69
70
  [tool.poetry.extras]
@@ -73,7 +74,7 @@ gunicorn = ["gunicorn"]
73
74
 
74
75
  [tool.poetry.group.dev.dependencies]
75
76
  bumpversion = "^0.6.0"
76
- ruff = "^0.0.252"
77
+ ruff = ">=0.0.252,<0.4.8"
77
78
  mypy = "^1.0.1"
78
79
  types-requests = "^2.28.11.15"
79
80
 
@@ -100,33 +101,11 @@ relative_files = true
100
101
  requires = ["poetry-core>=1.0.0"]
101
102
  build-backend = "poetry.core.masonry.api"
102
103
 
104
+ [project]
105
+ requires-python = ">= 3.8"
103
106
 
104
- [tool.ruff]
105
- # Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
106
- select = [
107
- "E", # pycodestyle errors
108
- "W", # pycodestyle warnings
109
- "F", # pyflakes
110
- "C", # flake8-comprehensions
111
- "B", # flake8-bugbear
112
- # "N", # naming
113
- # "S", # flake8-bandit
114
- # "PT", # flake8-pytest-style
115
- # "SIM",# flake8-simplify
116
- # "TCH",# flake8-type-checking
117
- # "PL", # Pylint
118
- "PLE", # error
119
- "RUF", # Ruff-specific rules
120
- ]
121
- ignore = [
122
- "E501", # line too long, handled by black
123
- "B008", # do not perform function calls in argument defaults
124
- "C901", # too complex
125
- ]
126
107
 
127
- # Allow autofix for all enabled rules (when `--fix`) is provided.
128
- fixable = ["A", "B", "C", "D", "E", "F"]
129
- unfixable = []
108
+ [tool.ruff]
130
109
 
131
110
  # Exclude a variety of commonly ignored directories.
132
111
  exclude = [
@@ -155,17 +134,47 @@ exclude = [
155
134
  # Same as Black.
156
135
  line-length = 120
157
136
 
158
- # Allow unused variables when underscore-prefixed.
159
- dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
160
137
 
161
138
  # Assume Python 3.10.
162
139
  target-version = "py38"
163
140
 
164
- [tool.ruff.mccabe]
141
+ [tool.ruff.lint]
142
+
143
+ # Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
144
+ select = [
145
+ "E", # pycodestyle errors
146
+ "W", # pycodestyle warnings
147
+ "F", # pyflakes
148
+ "C", # flake8-comprehensions
149
+ "B", # flake8-bugbear
150
+ # "N", # naming
151
+ # "S", # flake8-bandit
152
+ # "PT", # flake8-pytest-style
153
+ # "SIM",# flake8-simplify
154
+ # "TCH",# flake8-type-checking
155
+ # "PL", # Pylint
156
+ "PLE", # error
157
+ "RUF", # Ruff-specific rules
158
+ ]
159
+ ignore = [
160
+ "E501", # line too long, handled by black
161
+ "B008", # do not perform function calls in argument defaults
162
+ "C901", # too complex
163
+ "RUF200", # still using poetry
164
+ ]
165
+
166
+ # Allow autofix for all enabled rules (when `--fix`) is provided.
167
+ fixable = ["A", "B", "C", "D", "E", "F", "R"]
168
+ unfixable = []
169
+
170
+ # Allow unused variables when underscore-prefixed.
171
+ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
172
+
173
+ [tool.ruff.lint.mccabe]
165
174
  # Unlike Flake8, default to a complexity level of 10.
166
175
  max-complexity = 10
167
176
 
168
- [tool.ruff.per-file-ignores]
177
+ [tool.ruff.lint.per-file-ignores]
169
178
  "doc/conf.py" = ["E402"]
170
179
 
171
180
  [tool.mypy]
File without changes