Skip to content

Commit 89bd569

Browse files
Update pyproject.toml - replace output_formatting with output-formatting (#55275)
* Update pyproject.toml * Update v2.1.2.rst * Update v2.1.2.rst * Update doc/source/whatsnew/v2.1.2.rst * Update install.rst * Update package-checks.yml --------- Co-authored-by: Matthew Roeschke <[email protected]>
1 parent 764c460 commit 89bd569

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/package-checks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-22.04
2525
strategy:
2626
matrix:
27-
extra: ["test", "performance", "computation", "fss", "aws", "gcp", "excel", "parquet", "feather", "hdf5", "spss", "postgresql", "mysql", "sql-other", "html", "xml", "plot", "output_formatting", "clipboard", "compression", "consortium-standard", "all"]
27+
extra: ["test", "performance", "computation", "fss", "aws", "gcp", "excel", "parquet", "feather", "hdf5", "spss", "postgresql", "mysql", "sql-other", "html", "xml", "plot", "output-formatting", "clipboard", "compression", "consortium-standard", "all"]
2828
fail-fast: false
2929
name: Install Extras - ${{ matrix.extra }}
3030
concurrency:

doc/source/getting_started/install.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -247,14 +247,14 @@ Dependency Minimum Version pip ext
247247
Visualization
248248
^^^^^^^^^^^^^
249249

250-
Installable with ``pip install "pandas[plot, output_formatting]"``.
250+
Installable with ``pip install "pandas[plot, output-formatting]"``.
251251

252252
========================= ================== ================== =============================================================
253253
Dependency Minimum Version pip extra Notes
254254
========================= ================== ================== =============================================================
255255
matplotlib 3.6.1 plot Plotting library
256-
Jinja2 3.1.2 output_formatting Conditional formatting with DataFrame.style
257-
tabulate 0.8.10 output_formatting Printing in Markdown-friendly format (see `tabulate`_)
256+
Jinja2 3.1.2 output-formatting Conditional formatting with DataFrame.style
257+
tabulate 0.8.10 output-formatting Printing in Markdown-friendly format (see `tabulate`_)
258258
========================= ================== ================== =============================================================
259259

260260
Computation

doc/source/whatsnew/v2.1.2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Bug fixes
2929

3030
Other
3131
~~~~~
32-
-
32+
- Fixed non-working installation of optional dependency group ``output_formatting``. Replacing underscore ``_`` with a dash ``-`` fixes broken dependency resolution. A correct way to use now is ``pip install pandas[output-formatting]``.
3333
-
3434

3535
.. ---------------------------------------------------------------------------

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ sql-other = ['SQLAlchemy>=1.4.36']
8080
html = ['beautifulsoup4>=4.11.1', 'html5lib>=1.1', 'lxml>=4.8.0']
8181
xml = ['lxml>=4.8.0']
8282
plot = ['matplotlib>=3.6.1']
83-
output_formatting = ['jinja2>=3.1.2', 'tabulate>=0.8.10']
83+
output-formatting = ['jinja2>=3.1.2', 'tabulate>=0.8.10']
8484
clipboard = ['PyQt5>=5.15.6', 'qtpy>=2.2.0']
8585
compression = ['zstandard>=0.17.0']
8686
consortium-standard = ['dataframe-api-compat>=0.1.7']

0 commit comments

Comments
 (0)