pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-altair: Update to 5.4.1
Module Name: pkgsrc-wip
Committed By: Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By: matthewd
Date: Mon Sep 16 05:32:00 2024 -0700
Changeset: a39bccb251fd905422e8fdb0fb973387551d4989
Modified Files:
py-altair/Makefile
py-altair/PLIST
py-altair/distinfo
Log Message:
py-altair: Update to 5.4.1
Version 5.4.1 Latest
What's Changed
Enhancements
feat(typing): Generate Literal aliases in channels overload(s) by @dangotbanned in #3535
feat(typing): Generate Literal(s) using "const" by @dangotbanned in #3538
Bug Fixes
fix: Raise informative error message if a non-existent column name is passed by @MarcoGorelli in #3533
revert: Remove sphinx version constraint by @dangotbanned in #3541
fix: Pass native dataframe to data transformers by @MarcoGorelli in #3550
fix: Resolve Then copy TypeError by @dangotbanned in #3553
Documentation
docs: Explain the title frame attribute by @dsmedia in #3537
Other Changes
ci: bump ruff>=0.6.0 by @dangotbanned in #3539
ci: Remove m2r from mypy.overrides by @dangotbanned in #3540
refactor: Simplify SchemaBase.copy by @dangotbanned in #3543
fix(typing): Resolve misc type ignores in schemapi.py by @dangotbanned in #3545
test: Rename test to more specific chart_error_example__four_errors_hide_fourth by @dangotbanned in #3546
test: Shorten test_chart_validation_errors test ids by @dangotbanned in #3551
refactor: Replace an indirect SchemaBase import by @dangotbanned in #3556
test: Fix deprecation warning from ipywidgets by @dangotbanned in #3557
Version 5.4.0
What's Changed
Enhancements
Update Vega-Lite from version 5.17.0 to version 5.20.1; see Vega-Lite Release Notes. By @binste in #3479 and #3525
Remove several dependencies to make the package more lightweight:
feat: make pandas and NumPy optional dependencies, don't require PyArrow for plotting with Polars/Modin/cuDF by @MarcoGorelli in #3452
Remove toolz dependency by @dangotbanned in #3426
feat: Improve the syntax for conditions with multiple predicates. See the documentation of alt.when for examples by @dangotbanned in #3427 and #3492
feat: Reimplement alt.expr as a class that is understood by IDEs by @dangotbanned in #3466
feat: Support a wider range of iterables, i.e. many places in Altair now accept not only lists but np.array, pd.Series, tuples, etc. by @dangotbanned in #3501
feat: Adds 4 new carbon themes, provide autocomplete for themes by @dangotbanned in #3516
perf: Fix issues with Chart|LayerChart.encode, 1.32x speedup to infer_encoding_types by @dangotbanned in #3444
Various typing improvements:
feat(typing): Adds public altair.typing module by @dangotbanned in #3515
feat(typing): @deprecated versioning, IDE highlighting by @dangotbanned in #3455
feat: Adds ChartType type and type guard is_chart_type. Change PurePath to Path type hints by @dangotbanned in #3420
feat(typing): adds Map alias for Mapping[str, Any] by @dangotbanned in #3458
feat(typing): Ban typing.Optional import using ruff by @dangotbanned in #3460
feat(typing): Further simplify generated Literal aliases by @dangotbanned in #3469
feat(typing): Fully annotate api.py by @dangotbanned in #3508
Bug Fixes
fix(typing): Resolve mypy==1.11.0 issues in plugin_registry by @dangotbanned in #3487
fix: solve mypy errors which are due to same object names in core.py and channels.py by @binste in #3414
fix: remove remapped ruff rule PLR1701 by @dangotbanned in #3453
fix(docs): @utils.use_signature formatting by @dangotbanned in #3450
fix(typing): Ignore [arg-type] error in _deduplicate_enum_errors by @dangotbanned in #3475
fix: Restrict static & runtime top-level imports by @dangotbanned in #3482
fix: Avoid sphinx error "Code Execution failed:NameError: name 'format_locale' is not defined" by @dangotbanned in #3503
fix: replace deprecated sphinx default by @dangotbanned in #3512
fix(ruff): Bump ruff, fix RUF031 by @dangotbanned in #3529
Documentation
docs: Versioning policy by @dangotbanned in #3488
docs: Add example of reordering stacked bars by @joelostblom in #3395
docs: Add example of how to create polar bar charts by @joelostblom in #3428
docs: Add example of cumulative line chart with facet by @dsmedia in #3440
docs: Add example with hover path and search box by @dsmedia in #3459
docs: Add example for Bar Chart with Highlighting on Hover and Selection on Click by @dangotbanned in #3485
docs: Link to Vega Theme Test in user guide by @dangotbanned in #3528
docs: Fix and improve alt.Optional doc by @dangotbanned in #3449
docs: Fix camel case of fillOpacity channel by @timtroendle in #3465
docs: Fix CONTRIBUTING.md phrasing by @dangotbanned in #3477
docs: Reduce number of items in header to 4 by @binste in #3401
docs: Link to project board for roadmap by @joelostblom in #3404
docs: Use raw strings with escape sequences by @joelostblom in #3411
docs: Update hatch guidance by @dangotbanned in #3461
docs: Add empty as a explicit condition kwarg by @dangotbanned in #3490
docs: Undoc deprecated functionality by @dangotbanned in #3509
docs: Remove reference to altair_saver in save by @dangotbanned in #3510
docs: Update link to Altair Ally by @sebp in #3517
Maintenance
chore: Remove CoC link in templates since it's displayed by default by @joelostblom in #3390
chore: Update org name from altair-viz to vega by @binste in #3400
build: pin upperlimit geopandas by @mattijn in #3421
ci: remove again geopandas pin and disable flaky test by @binste in #3422
ci: Remove references to archived altair_viewer and altair_saver in ci, docs, and tests. Uninstall anywidget and vl-convert-python during one test run by @binste in #3419
ci: prepare for numpy 2 by @dangotbanned in #3438
ci: Add a Dependabot config to auto-update GitHub action versions by @kurtmckee in #3437
ci: Update dependabot.yaml to include prefix by @mattijn in #3442
ci: Bump the github-actions group with 2 updates by @dependabot in #3439
chore: avoid pandas warning for freq='H' in test_utils.py by @MarcoGorelli in #3446
refactor: Add ruff rules, improve type annotations, improve ci performance by @dangotbanned in #3431
style: Remove outdated comments about the use of the former _Parameter protocol by @binste in #3448
chore: fixup ruff-mypy CI job due to Ruff change by @MarcoGorelli in #3463
refactor(typing): Reuse generated Literal aliases in api by @dangotbanned in #3464
ci: remove toolz from [[tool.mypy.overrides]] by @dangotbanned in #3474
refactor: Simplify SchemaBase repr by @dangotbanned in #3472
refactor: remove dead _get_channels_mapping code by @dangotbanned in #3467
ci: bump ruff>=0.5.3 for PLW1514 fix by @dangotbanned in #3484
test: skip ibis test on unsupported python version by @dangotbanned in #3486
refactor(typing): reduce type ignores in api.py by @dangotbanned in #3480
fix: remove unsupported sphinx theme option 'footer_items' by @dangotbanned in #3489
refactor: Rename and move is_undefined, OneOrSeq by @dangotbanned in #3491
refactor(docs, ruff): Add pydocstyle rules by @dangotbanned in #3493
ci: include optional dependencies for Polars backend in ibis-framework install by @MarcoGorelli in #3494
ci: Add python-version=="3.9" to github action by @dangotbanned in #3498
ci(ruff): Remove stale docstring-code-format comment by @dangotbanned in #3496
ci: relax numpy<=2.0.0 constraint by @dangotbanned in #3504
refactor: replace archived m2r with updated mistune by @dangotbanned in #3506
build: Add ipykernel optional dependency to dev group by @dangotbanned in #3507
refactor(ruff): Organize imports w/ (I001, TID252) rules by @dangotbanned in #3513
ci: Bump sphinx, vl-convert-python by @dangotbanned in #3527
chore: Remove filterwarnings from tests for cross-version pandas compatibility by @MarcoGorelli in #3522
ci(ruff): Enforce the default C901 complexity by @dangotbanned in #3531
refactor: Simplify unreachable compound chart cases by @dangotbanned in #3520
feat: Adds vega-themes.json using vl_convert by @dangotbanned in #3523
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a39bccb251fd905422e8fdb0fb973387551d4989
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-altair/Makefile | 5 +----
py-altair/PLIST | 7 +++++++
py-altair/distinfo | 6 +++---
3 files changed, 11 insertions(+), 7 deletions(-)
diffs:
diff --git a/py-altair/Makefile b/py-altair/Makefile
index dee6d60b37..07faf4d8d3 100644
--- a/py-altair/Makefile
+++ b/py-altair/Makefile
@@ -1,8 +1,7 @@
# $NetBSD$
-DISTNAME= altair-5.3.0
+DISTNAME= altair-5.4.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/altair/}
@@ -11,7 +10,6 @@ HOMEPAGE= https://altair-viz.github.io/
COMMENT= Altair: A declarative statistical visualization library for Python
LICENSE= 2-clause-bsd
-PYTHON_VERSIONS_INCOMPATIBLE= 27 38
TOOL_DEPENDS+= ${PYPKGPREFIX}-black>=20.8:../../textproc/py-black
TOOL_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.16:../../textproc/py-docutils
@@ -21,7 +19,6 @@ TOOL_DEPENDS+= ${PYPKGPREFIX}-flake8>=3.3.0:../../devel/py-flake8
TOOL_DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.0.1:../../devel/py-typing-extensions
TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx>=2.4.4:../../textproc/py-sphinx
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
-TOOL_DEPENDS+= ${PYPKGPREFIX}-recommonmark>=0.6.0:../../wip/py-recommonmark
DEPENDS+= ${PYPKGPREFIX}-entrypoints>=0.3:../../devel/py-entrypoints
DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.11.2:../../textproc/py-jinja2
DEPENDS+= ${PYPKGPREFIX}-jsonschema>=3.0.0:../../textproc/py-jsonschema
diff --git a/py-altair/PLIST b/py-altair/PLIST
index 95d5c7bb44..183eea12ad 100644
--- a/py-altair/PLIST
+++ b/py-altair/PLIST
@@ -30,6 +30,9 @@ ${PYSITELIB}/altair/jupyter/jupyter_chart.py
${PYSITELIB}/altair/jupyter/jupyter_chart.pyc
${PYSITELIB}/altair/jupyter/jupyter_chart.pyo
${PYSITELIB}/altair/py.typed
+${PYSITELIB}/altair/typing.py
+${PYSITELIB}/altair/typing.pyc
+${PYSITELIB}/altair/typing.pyo
${PYSITELIB}/altair/utils/__init__.py
${PYSITELIB}/altair/utils/__init__.pyc
${PYSITELIB}/altair/utils/__init__.pyo
@@ -123,6 +126,9 @@ ${PYSITELIB}/altair/vegalite/v5/display.pyo
${PYSITELIB}/altair/vegalite/v5/schema/__init__.py
${PYSITELIB}/altair/vegalite/v5/schema/__init__.pyc
${PYSITELIB}/altair/vegalite/v5/schema/__init__.pyo
+${PYSITELIB}/altair/vegalite/v5/schema/_typing.py
+${PYSITELIB}/altair/vegalite/v5/schema/_typing.pyc
+${PYSITELIB}/altair/vegalite/v5/schema/_typing.pyo
${PYSITELIB}/altair/vegalite/v5/schema/channels.py
${PYSITELIB}/altair/vegalite/v5/schema/channels.pyc
${PYSITELIB}/altair/vegalite/v5/schema/channels.pyo
@@ -133,6 +139,7 @@ ${PYSITELIB}/altair/vegalite/v5/schema/mixins.py
${PYSITELIB}/altair/vegalite/v5/schema/mixins.pyc
${PYSITELIB}/altair/vegalite/v5/schema/mixins.pyo
${PYSITELIB}/altair/vegalite/v5/schema/vega-lite-schema.json
+${PYSITELIB}/altair/vegalite/v5/schema/vega-themes.json
${PYSITELIB}/altair/vegalite/v5/theme.py
${PYSITELIB}/altair/vegalite/v5/theme.pyc
${PYSITELIB}/altair/vegalite/v5/theme.pyo
diff --git a/py-altair/distinfo b/py-altair/distinfo
index 18955cae81..3097ee4068 100644
--- a/py-altair/distinfo
+++ b/py-altair/distinfo
@@ -1,5 +1,5 @@
$NetBSD$
-BLAKE2s (altair-5.3.0.tar.gz) = 6116984d0695f6497c27e56833dc05b9eb29783b7ab4678cf6bcc96f179c77e6
-SHA512 (altair-5.3.0.tar.gz) = 1ee6e4c801db3123163449239f4163161bef878efdf87504aec9493676e57d54caee0756371a1904db746964c1d9213e2134fa49bde52b14ad7aae331177f78f
-Size (altair-5.3.0.tar.gz) = 826846 bytes
+BLAKE2s (altair-5.4.1.tar.gz) = ee2bb88ca373215df39653a8cfe35537dbdbbbd0543c5ec271fadf06cd20a022
+SHA512 (altair-5.4.1.tar.gz) = 7e2711ba073688ad462c52ec64b335bc848e01831258ffd7606de5ec27978f611e0e34aba23c91a8a69e11c559b0604cc6e8437a15490d546ff202619ac625cf
+Size (altair-5.4.1.tar.gz) = 636465 bytes
Home |
Main Index |
Thread Index |
Old Index