ssb-konjunk 2.0.0__py3-none-any.whl → 2.0.1__py3-none-any.whl
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.
- ssb_konjunk/saving.py +5 -13
- {ssb_konjunk-2.0.0.dist-info → ssb_konjunk-2.0.1.dist-info}/METADATA +2 -2
- {ssb_konjunk-2.0.0.dist-info → ssb_konjunk-2.0.1.dist-info}/RECORD +6 -6
- {ssb_konjunk-2.0.0.dist-info → ssb_konjunk-2.0.1.dist-info}/LICENSE +0 -0
- {ssb_konjunk-2.0.0.dist-info → ssb_konjunk-2.0.1.dist-info}/WHEEL +0 -0
- {ssb_konjunk-2.0.0.dist-info → ssb_konjunk-2.0.1.dist-info}/entry_points.txt +0 -0
ssb_konjunk/saving.py
CHANGED
|
@@ -131,23 +131,15 @@ def _find_version_number(files: list[str], stable_version: bool) -> str | None:
|
|
|
131
131
|
elif stable_version and existing_versions[-1] == "0":
|
|
132
132
|
return "1"
|
|
133
133
|
elif stable_version and existing_versions[-1] != "0":
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
make_new_version = input(
|
|
135
|
+
"Vil du lage en ny versjon (altså øke versjonsnummeret med en)? Bekreft med 'y'."
|
|
136
136
|
)
|
|
137
|
-
if
|
|
137
|
+
if make_new_version.lower() == "y":
|
|
138
138
|
version = existing_versions[-1]
|
|
139
|
-
version = version.split(".")[0]
|
|
139
|
+
version = int(version.split(".")[0]) + 1
|
|
140
140
|
return str(version)
|
|
141
141
|
else:
|
|
142
|
-
|
|
143
|
-
"Vil du lage en ny versjon (altså øke versjonsnummeret med en)? Bekreft med 'y'."
|
|
144
|
-
)
|
|
145
|
-
if make_new_version.lower() == "y":
|
|
146
|
-
version = existing_versions[-1]
|
|
147
|
-
version = int(version.split(".")[0]) + 1
|
|
148
|
-
return str(version)
|
|
149
|
-
else:
|
|
150
|
-
return None
|
|
142
|
+
return None
|
|
151
143
|
else:
|
|
152
144
|
raise ValueError("Noe gikk galt da rett versjonsnummer skulle settes.")
|
|
153
145
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: ssb-konjunk
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: SSB Konjunk 422
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Johanne Saxegaard
|
|
7
|
-
Author-email: jox@ssb.no
|
|
7
|
+
Author-email: jox@ssb.no>, Halvor Steffenssen <hvr@ssb.no
|
|
8
8
|
Requires-Python: >=3.10,<4.0
|
|
9
9
|
Classifier: Development Status :: 1 - Planning
|
|
10
10
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -6,12 +6,12 @@ ssb_konjunk/fame.py,sha256=MGSE-eiz1iGxZL_IZo9P59BB8bXeFyEybfwzLrxuFRc,1550
|
|
|
6
6
|
ssb_konjunk/prompts.py,sha256=tGI2dARh8jIYB_IZ4Iwb5AEbNoDZq9-17Uc9QjhqPcQ,10269
|
|
7
7
|
ssb_konjunk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
ssb_konjunk/rounding.py,sha256=nbxYMvvFzoJOxwJBCA80OyaZGhhOHCxbndeYB271Uzk,1269
|
|
9
|
-
ssb_konjunk/saving.py,sha256=
|
|
9
|
+
ssb_konjunk/saving.py,sha256=sUvVU2p04AI6xjbXTcMKLqBVgGV2RWShfK2lh60fKMo,13933
|
|
10
10
|
ssb_konjunk/statbank_format.py,sha256=cVXrq2qSuMk-FAiMdbIS8Cc8YgZUyTCKnsMdknMbfkM,1469
|
|
11
11
|
ssb_konjunk/timestamp.py,sha256=XPB5JhZQdDgUPYYNVAFiMZGe8dYL8seb_k98G9CNtjY,9960
|
|
12
12
|
ssb_konjunk/xml_handling.py,sha256=vUNltaWd7KRB24AfdHsA0JpM9_ZTj4LphJ09aA4fmJI,1501
|
|
13
|
-
ssb_konjunk-2.0.
|
|
14
|
-
ssb_konjunk-2.0.
|
|
15
|
-
ssb_konjunk-2.0.
|
|
16
|
-
ssb_konjunk-2.0.
|
|
17
|
-
ssb_konjunk-2.0.
|
|
13
|
+
ssb_konjunk-2.0.1.dist-info/LICENSE,sha256=np3IfD5m0ZUofn_kVzDZqliozuiO6wrktw3LRPjyEiI,1073
|
|
14
|
+
ssb_konjunk-2.0.1.dist-info/METADATA,sha256=FxNbQgOARlr_dJ6UpG04HTxWLb87cUiY9SwDH4KJLLQ,3940
|
|
15
|
+
ssb_konjunk-2.0.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
16
|
+
ssb_konjunk-2.0.1.dist-info/entry_points.txt,sha256=qU7y58sZiFKYonuEJTbV0MhhbAJtposy46crLp4TjAM,57
|
|
17
|
+
ssb_konjunk-2.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|