Skip to content

Commit

Permalink
change pickle protocol to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
banderlog committed Jul 11, 2021
1 parent a0b5dc5 commit 670a168
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion create_wheel/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setuptools.setup(
name='drg2txt',
version='0.2.0',
version='0.3.0',
url="https://github.com/banderlog/drg2txt",
maintainer="Kabakov Borys",
license='MIT',
Expand Down
Binary file modified drg2txt/data.pickle
Binary file not shown.
37 changes: 19 additions & 18 deletions package_preparation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
"metadata": {},
"outputs": [],
"source": [
"pd.to_pickle([drg_descr, drg_mdc, mdc_descr], './drg2txt/data.pickle')"
"# change pickle protocol for compatibility with 3.0–3.7 python versions\n",
"pd.to_pickle([drg_descr, drg_mdc, mdc_descr], './drg2txt/data.pickle', protocol=3)"
]
},
{
Expand Down Expand Up @@ -175,7 +176,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 12,
"id": "b52205eb",
"metadata": {},
"outputs": [],
Expand All @@ -188,7 +189,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 13,
"id": "cba06f63",
"metadata": {},
"outputs": [
Expand All @@ -209,23 +210,23 @@
"running check\n",
"warning: Check: missing meta-data: if 'maintainer' supplied, 'maintainer_email' must be supplied too\n",
"\n",
"creating drg2txt-0.2.0\n",
"creating drg2txt-0.2.0/drg2txt\n",
"creating drg2txt-0.2.0/drg2txt.egg-info\n",
"copying files to drg2txt-0.2.0...\n",
"copying MANIFEST.in -> drg2txt-0.2.0\n",
"copying README.md -> drg2txt-0.2.0\n",
"copying setup.py -> drg2txt-0.2.0\n",
"copying drg2txt/__init__.py -> drg2txt-0.2.0/drg2txt\n",
"copying drg2txt/data.pickle -> drg2txt-0.2.0/drg2txt\n",
"copying drg2txt.egg-info/PKG-INFO -> drg2txt-0.2.0/drg2txt.egg-info\n",
"copying drg2txt.egg-info/SOURCES.txt -> drg2txt-0.2.0/drg2txt.egg-info\n",
"copying drg2txt.egg-info/dependency_links.txt -> drg2txt-0.2.0/drg2txt.egg-info\n",
"copying drg2txt.egg-info/top_level.txt -> drg2txt-0.2.0/drg2txt.egg-info\n",
"Writing drg2txt-0.2.0/setup.cfg\n",
"creating drg2txt-0.3.0\n",
"creating drg2txt-0.3.0/drg2txt\n",
"creating drg2txt-0.3.0/drg2txt.egg-info\n",
"copying files to drg2txt-0.3.0...\n",
"copying MANIFEST.in -> drg2txt-0.3.0\n",
"copying README.md -> drg2txt-0.3.0\n",
"copying setup.py -> drg2txt-0.3.0\n",
"copying drg2txt/__init__.py -> drg2txt-0.3.0/drg2txt\n",
"copying drg2txt/data.pickle -> drg2txt-0.3.0/drg2txt\n",
"copying drg2txt.egg-info/PKG-INFO -> drg2txt-0.3.0/drg2txt.egg-info\n",
"copying drg2txt.egg-info/SOURCES.txt -> drg2txt-0.3.0/drg2txt.egg-info\n",
"copying drg2txt.egg-info/dependency_links.txt -> drg2txt-0.3.0/drg2txt.egg-info\n",
"copying drg2txt.egg-info/top_level.txt -> drg2txt-0.3.0/drg2txt.egg-info\n",
"Writing drg2txt-0.3.0/setup.cfg\n",
"creating dist\n",
"Creating tar archive\n",
"removing 'drg2txt-0.2.0' (and everything under it)\n"
"removing 'drg2txt-0.3.0' (and everything under it)\n"
]
}
],
Expand Down

0 comments on commit 670a168

Please sign in to comment.