Skip to content

Commit 4b9c62d

Browse files
jbrockmendelWillAyd
authored andcommitted
DEPR: msgpack (#30112)
1 parent 76ddd78 commit 4b9c62d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+22
-6390
lines changed

LICENSES/MSGPACK_LICENSE

Lines changed: 0 additions & 13 deletions
This file was deleted.

LICENSES/MSGPACK_NUMPY_LICENSE

Lines changed: 0 additions & 33 deletions
This file was deleted.

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ global-exclude *.gz
2020
global-exclude *.h5
2121
global-exclude *.html
2222
global-exclude *.json
23-
global-exclude *.msgpack
2423
global-exclude *.pickle
2524
global-exclude *.png
2625
global-exclude *.pyc

asv_bench/benchmarks/io/msgpack.py

Lines changed: 0 additions & 32 deletions
This file was deleted.

asv_bench/benchmarks/io/sas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ def setup(self, format):
2626
]
2727
self.f = os.path.join(*paths)
2828

29-
def time_read_msgpack(self, format):
29+
def time_read_sas(self, format):
3030
read_sas(self.f, format=format)

ci/code_checks.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ if [[ -z "$CHECK" || "$CHECK" == "lint" ]]; then
9494

9595
# We don't lint all C files because we don't want to lint any that are built
9696
# from Cython files nor do we want to lint C files that we didn't modify for
97-
# this particular codebase (e.g. src/headers, src/klib, src/msgpack). However,
97+
# this particular codebase (e.g. src/headers, src/klib). However,
9898
# we can lint all header files since they aren't "generated" like C files are.
9999
MSG='Linting .c and .h' ; echo $MSG
100-
cpplint --quiet --extensions=c,h --headers=h --recursive --filter=-readability/casting,-runtime/int,-build/include_subdir pandas/_libs/src/*.h pandas/_libs/src/parser pandas/_libs/ujson pandas/_libs/tslibs/src/datetime pandas/io/msgpack pandas/_libs/*.cpp pandas/util
100+
cpplint --quiet --extensions=c,h --headers=h --recursive --filter=-readability/casting,-runtime/int,-build/include_subdir pandas/_libs/src/*.h pandas/_libs/src/parser pandas/_libs/ujson pandas/_libs/tslibs/src/datetime pandas/_libs/*.cpp
101101
RET=$(($RET + $?)) ; echo $MSG "DONE"
102102

103103
echo "isort --version-number"

doc/redirects.csv

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,6 @@ generated/pandas.DataFrame.to_hdf,../reference/api/pandas.DataFrame.to_hdf
491491
generated/pandas.DataFrame.to,../reference/api/pandas.DataFrame.to
492492
generated/pandas.DataFrame.to_json,../reference/api/pandas.DataFrame.to_json
493493
generated/pandas.DataFrame.to_latex,../reference/api/pandas.DataFrame.to_latex
494-
generated/pandas.DataFrame.to_msgpack,../reference/api/pandas.DataFrame.to_msgpack
495494
generated/pandas.DataFrame.to_numpy,../reference/api/pandas.DataFrame.to_numpy
496495
generated/pandas.DataFrame.to_panel,../reference/api/pandas.DataFrame.to_panel
497496
generated/pandas.DataFrame.to_parquet,../reference/api/pandas.DataFrame.to_parquet
@@ -889,7 +888,6 @@ generated/pandas.read_gbq,../reference/api/pandas.read_gbq
889888
generated/pandas.read_hdf,../reference/api/pandas.read_hdf
890889
generated/pandas.read,../reference/api/pandas.read
891890
generated/pandas.read_json,../reference/api/pandas.read_json
892-
generated/pandas.read_msgpack,../reference/api/pandas.read_msgpack
893891
generated/pandas.read_parquet,../reference/api/pandas.read_parquet
894892
generated/pandas.read_pickle,../reference/api/pandas.read_pickle
895893
generated/pandas.read_sas,../reference/api/pandas.read_sas
@@ -1230,7 +1228,6 @@ generated/pandas.Series.to_json,../reference/api/pandas.Series.to_json
12301228
generated/pandas.Series.to_latex,../reference/api/pandas.Series.to_latex
12311229
generated/pandas.Series.to_list,../reference/api/pandas.Series.to_list
12321230
generated/pandas.Series.tolist,../reference/api/pandas.Series.tolist
1233-
generated/pandas.Series.to_msgpack,../reference/api/pandas.Series.to_msgpack
12341231
generated/pandas.Series.to_numpy,../reference/api/pandas.Series.to_numpy
12351232
generated/pandas.Series.to_period,../reference/api/pandas.Series.to_period
12361233
generated/pandas.Series.to_pickle,../reference/api/pandas.Series.to_pickle

doc/source/development/developer.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ The ``metadata`` field is ``None`` except for:
125125
in ``BYTE_ARRAY`` Parquet columns. The encoding can be one of:
126126

127127
* ``'pickle'``
128-
* ``'msgpack'``
129128
* ``'bson'``
130129
* ``'json'``
131130

doc/source/getting_started/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ PyTables 3.4.2 HDF5-based reading / writing
249249
SQLAlchemy 1.1.4 SQL support for databases other than sqlite
250250
SciPy 0.19.0 Miscellaneous statistical functions
251251
XLsxWriter 0.9.8 Excel writing
252-
blosc Compression for msgpack
252+
blosc Compression for HDF5
253253
fastparquet 0.3.2 Parquet reading / writing
254254
gcsfs 0.2.2 Google Cloud Storage access
255255
html5lib HTML parser for read_html (see :ref:`note <optional_html>`)
@@ -269,7 +269,7 @@ xclip Clipboard I/O on linux
269269
xlrd 1.1.0 Excel reading
270270
xlwt 1.2.0 Excel writing
271271
xsel Clipboard I/O on linux
272-
zlib Compression for msgpack
272+
zlib Compression for HDF5
273273
========================= ================== =============================================================
274274

275275
.. _optional_html:

doc/source/reference/frame.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,6 @@ Serialization / IO / conversion
357357
DataFrame.to_feather
358358
DataFrame.to_latex
359359
DataFrame.to_stata
360-
DataFrame.to_msgpack
361360
DataFrame.to_gbq
362361
DataFrame.to_records
363362
DataFrame.to_string

0 commit comments

Comments
 (0)