Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-openpyxl
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Fix PLIST after py-setuptools update; bump depends and revision
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
py-openpyxl: updated to 3.1.5 3.1.5 Bug fixes
py-openpyxl: updated to 3.1.4 3.1.4 (2024-06-12) Assigning named styles doesn't work Problems caused when saving workbooks created by LibreOffice Changes Python 3.6 and 3.7 are no longer supported.
py-openpyxl: updated to 3.1.3 3.1.3 (2024-05-29) Bugfixes * Column name caches are slow and use a lot of memory * Improved handling of duplicate named styles * Rich-text can be saved if lxml is not installed * Documentation for sheet views is incorrect * Timedeltas not read properly in read-only mode * List of formulae names contains mistakes * Filters does not handle non-numerical filters * Type checking increases exponentially * Loading pivot tables can be unnecessarily slow * Improve performance when reading files with lots of custom properties * Setting Trendline.name attribute raises exception when saving * Timezone and Zombie formatting cannot be combined. * Column name generation is inefficient and slow * File handlers not always released in read-only mode * Workbook files not properly closed on Python ≥ 3.11.8 and Windows * Pivot cache definitions using tupleCache had serialisation issues Changes Add a __repr__ method for Row and Column dimension objects so you don’t need to check every time.
py-openpyxl: updated to 3.1.2 3.1.2 Cannot read worksheets in read-only mode with locally scoped definitions Empty custom properties cause invalid files
py-openpyxl: updated to 3.1.1 3.1.1 (2023-02-13) Bugfixes * DocumentProperties times set by module import only * Worksheet-specific definitions are missing 3.1.0 (2023-01-31) New Features Added support for data table formulae Mapped chartspace graphical properties to charts for advanced formatting Bugfixes * Table filters are always overriden * Can’t read some ScatterCharts if n * Problem with multilevel indices in dataframes * Problem with category indices in dataframes * NamedStyles share attributes - mutables gotcha * Allow print area to be set to None * Worksheet for print title and print areas can’t be found * Custom document properties that are strings can be empty * ConditionalFormatting lost when pivot table updated * Better handling of defined names * dataframe_to_rows() misalignment on multiindex * Ditto * Excel doesn’t like xmlns:space on nodes with only whitespace, which it treats as empty. * Exception when print areas use table references. Pull Requests Support for Rich Text in cells Provide more information when workbook cannot be loaded Support for Custom Document Properties Deprecations The following properties have been removed from worksheets: formula_attributes, page_breaks, show_summary_below, show_summary_right, page_size orientation. Client code should use the relevant objects. Removals The following deprecated methods have been removed from workbooks: get_named_range, add_named_range, remove_named_range. And the get_emu_dimesions from images.
py-openpyxl: put correct DEPENDS
py-openpyxl: updated to 3.0.10 3.0.10 (2021-05-13) Bugfixes * Image files not closed when workbooks are saved * Problem with missing scope attribute in Pivot Table formats * Excel unhappy when multiple sorts are defined 3.0.9 (2021-09-22) Bugfixes * Ignore blank ignored in existing Data Validations * Add support for cell protection for merged cell ranges * Timezone-aware datetimes raise an Exception * Improved normalisation of chart series * Catch OverflowError for out of range datetimes * Alignment.relativeIndent can be negative * Incorrect default value groupBy attribute 3.0.8 (brown bag) Deleted because it contained breaking changes from 3.1 3.0.7 (2021-03-09) Bugfixes * Problems with zero time values * Not possible to correctly convert excel dates to timedelta * Exception raised when merging cells which do not have borders all the way round. * Python 2 print statement in the tutorial Pull Requests * Add documentation on datetime handling * Drop dependency on jdcal * Datetime rounding * Unify handling of 1900 epoch * Add explicit support for reading datetime deltas * Millisecond precision for datetimes 3.0.6 (2021-01-14) Bugfixes * Borders in differential styles are incorrect * Error when opening some pivot tables * Resave breaks the border format in conditional formatting rules * Read-only workbook not closed properly if generator interrupted * Pandas.Multiindex.labels deprecated * Pandas.Multiinex not expanded correctly * Cannot read rows with exponents * numpy.float is deprecated * Cells without coordinate attributes not always correctly handled Pull Requests * Improved handling of borders for differential styles * Support subclasses of datetime objects * Improved handling of cells without coordinates 3.0.5 (2020-08-21) Bugfixes * Incorrectly consider currency format as datetime * Cannot copy worksheets with merged cells * Empty worksheets do not return generators when looping. * Hyperlinks duplicated on multiple saves * Incorrectly literal format as datetime * Links set to range of cells not preserved * Exception when opening workbook with chartsheets and tables 3.0.4 (2020-06-24) Bugfixes * Find tables by name * Worksheet protection missing in existing files * Exception when reading files with external images * Reading lots of merged cells is very slow. * Read support for Bubble Charts. * Preserve any indexed colours * Reading many thousand of merged cells is really slow. * Adding tables in write-only mode raises an exception. Pull Requests * Add support for finding tables by name or range. 3.0.3 (2020-01-20) Bugfixes * Exception when handling merged cells with hyperlinks * Problems when both lxml and defusedxml are installed * CFVO with incorrect values cannot be processed 3.0.2 (2019-11-25) Bug fixes * DeprecationError if both defusedxml and lxml are installed * ws._current_row is higher than ws.max_row * Border bottom style is not optional when it should be * Empty cells in read-only, values-only mode are sometimes returned as ReadOnlyCells * Cannot add page breaks to existing worksheets if none exist already Pull Requests * Improvements to the documentation 3.0.1 (2019-11-14) Bugfixes * Cannot read empty charts. Pull Requests * Fix for 1250 * TableStyleElement is a sequence 3.0.0 (2019-09-25) Python 3.6+ only release
py-openpyxl: update to 2.6.4 This is a release with a single bug fix that corrects a file corruption issue. Cannot save workbooks with comments more than once. https://foss.heptapod.net/openpyxl/openpyxl/-/issues/1330 (There is a newer 3.x branch with many more changes since, but it drops Python 2.7 support and is more involved, so can't be committed during the pkgsrc freeze.)
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-openpyxl: updated to 2.6.3 2.6.3: Bugfixes * Fix 3D charts. * Minimum for holeSize in Doughnut charts too high * Warning for MergedCells with comments * Pagebreaks duplicated * Workbook has no default CellStyle
Use https for readthedocs.io.
py-openpyxl: updated to 2.6.2 2.6.2: Bugfixes * Workbook has no _date_formats attribute * Cannot create charts for worksheets with quotes in the title * MergedCells not removed when range is unmerged * Link to pivot table lost from charts * Chart colours change after saving * Cannot use ws.cell in read-only mode with Python 2.7
py-openpyxl: updated to 2.6.1 2.6.1: Bugfixes * ReadOnlyCell.is_date does not work properly * Cannot read Google Docs spreadsheet with a Pivot Table * Charts created with openpyxl cannot be styled * Cannot handle some numpy number types * Exception when reading unknowable number formats * Only last formatting rule for a range loaded * Give MergedCell a value attribute * Cannot process worksheets with comments * Cannot process worksheets with both row and page breaks * Cannot reset dimensions in ReadOnlyWorksheets * Incorrect descriptor in ParagraphProperties * Missing hier attribute in PageField raises an exception
py-openpyxl: updated to 2.6.0 2.6.0: Bugfixes * Exception on tables with names containing spaces. * Cannot save files with existing images. 2.6.-b1: Bugfixes * Cannot use read-only mode with stream * Hyperlinks always set on A1 * Internal row counter not initialised when reading files * Exception raised on out of bounds date 2.6-a1: Major changes Implement robust for merged cells so that these can be formatted the way Excel does without confusion. Thanks to Magnus Schieder. Minor changes Add support for worksheet scenarios Add read support for chartsheets Add method for moving ranges of cells on a worksheet Last version to support Python 2.7 Deprecations Type inference and coercion for cell values
py-openpyxl: updated to 2.5.14 2.5.14: Bugfixes Correct typo in LineProperties Exception raised for unsupported image files Exception raised when cannot find source for non-local cache object Pull Requests Add support for nested brackets to the tokeniser Improvements on handling nested brackets in the tokeniser
py-openpyxl: updated to 2.5.12 2.5.12: Bugfixes * Overwriting default font in Normal style affects library default * Images not added to anchors. * Cannot read pivot table formats without dxId * Repeated registration of simple filter could lead to memory leaks
py-openpyxl: updated to 2.5.11 2.5.11: * Improved handling of missing rows * Add support for defined names to tokeniser
py-openpyxl: updated to 2.5.10 2.5.10: Bugfixes * Empty column dimensions should not be saved. Pull Requests * Tokenizer failure for quoted sheet name in second half of range * Improved error detection in ranges.
py-openpyxl: updated to 2.5.9 2.5.9: Bugfixes * Clean AutoFilter name definitions * Attribute missing from Shape object * Failure to read all DrawingML means workbook can't be read Pull Requests * Allow newlines in formulae * Fix whitespace in front of infix operator in formulae
py-openpyxl: updated to 2.5.8 2.5.8: Cannot control how missing values are displayed in charts. Cell references can’t be used for chart titles Params in iter_cols and iter_rows methods are slightly wrong.
py-openpyxl: updated to 2.5.7 2.5.7: Sheet title containing % need quoting in references Cannot set quote prefix Pandas timestamps raise KeyError
py-openpyxl: updated to 2.5.6 2.5.6: Read-only mode can leave find-handles open when reading dimensions Set a worksheet directly as active Internal row counter not adjusted when rows are deleted or inserted
py-openpyxl: updated to 2.5.5 2.5.5: Bugfixes Files with Mac epoch are read incorrectly Cannot copy merged cells Cannot access ws.active_cell Pull Requests Introduce read-support for images
py-openpyxl: updated to 2.5.4 2.5.4: Fix: Cannot read files with 3D charts. Fix: Merged cells take a long time to parse Minor changes Improve read support for pivot tables and don't always create a Filters child for filterColumn objects. Support folding rows
py-openpyxl: remove et_xmlfile from requires.txt et_xmlfile is only used if lxml isn't and we have dependency on py-lxml so remove from requires.txt to keep pip happy.
py-openpyxl: updated to 2.5.3 2.5.3: Bugfixes: * Warning level too aggressive. * Alignment and protection values not saved for named styles. * Deleting elements from a legend doesn’t work. * Index names repeated for every row in dataframe. * Worksheet protection not being stored. * Exception raised when reading a tooltip.
py-openpyxl: updated to 2.5.2 2.5.2: Bugfixes * High memory use when reading text-heavy files. * Copying merged cells copies references. * Cannot set comment size. * Exception when trying to save workbooks with no views. * Cannot delete last row or column. * Cannot read Drawings containing embedded images.
py-openpyxl: updated to 2.5.1 2.5.1: Bug fixes.
py-openpyxl: updated to 2.5.0 2.5.0: Minor changes Correct definition for Connection Shapes. 2.5.0-b2: Bugfixes TableStyleInfo has no required attributes Cannot read files with 3D drawings Incorrect version check in installer Cell merging uses transposed parameters ExtLst missing keyword for PivotFields Inf causes problems for Excel Cannot load table styles with custom names Major Changes You can now insert and delete rows and columns in worksheets Minor Changes pip now handles which Python versions can be used. 2.5.0-b1: Bugfixes Explicitly support for multiple cell ranges in conditonal formatting Non-contiguous cell ranges in validators get merged Empty data validators create invalid Excel files Large validation ranges use lots of memory Unicode in chart axes not handled correctly in Python 2 ScatterCharts have defective axes Charts with empty numVal elements cannot be read Scaling options from existing files ignored Charts with PivotSource cannot be read Cannot read gradient fills Quotes in number formats could be treated as datetimes
py-openpyxl: add required py-cElementTree dependency From Fekete, Zoltán in PR 52953.
py-openpyxl: updated to 2.4.9 2.4.9 (2017-10-19) Bugfixes * 809 Incomplete documentation of copy_worksheet method * 811 Scoped definedNames not removed when worksheet is deleted * 824 Raise an exception if a chart is used in multiple sheets * 842 Non-ASCII table column headings cause an exception in Python 2 * 846 Conditional formats not supported in write-only mode * 849 Conditional formats with no sqref cause an exception * 859 Headers that start with a number conflict with font size * 902 TableStyleElements don’t always have a condtional format * 908 Read-only mode sometimes returns too many cells Pull requests * 179 Cells kept in a set * 180 Support for Workbook protection * 182 Read support for page breaks * 183 Improve documentation of copy_worksheet method * 198 Fix
2.4.8 (2017-05-30) Bugfixes * AutoFilter.sortState being assignd to the ws.sortState * Cannot open files created by Microsoft Dynamics` * Negative percents not case correctly` * Runtime imports can cause deadlock` Minor changes * Preserve any table styles
Switch to MASTER_SITES_PYPI.
Imported from wip/py-openpyxl openpyxl is a pure python reader and writer of Excel OpenXML files. It was born from lack of existing library to read/write natively from Python the new Office Open XML format. All kudos to the PHPExcel team as openpyxl is a Python port of PHPExcel http://www.phpexcel.net/
Initial revision