pypi pyjanitor 0.32.4
v0.32.4

latest releases: 0.32.86, 0.32.85, 0.32.84...
11 months ago

Version 0.32.4

This release introduces major improvements to the development workflow, continuous integration, and documentation systems, with a strong focus on modernizing the project infrastructure. The migration to a Pixi-based environment streamlines dependency management, testing, and documentation building. Several new features enhance contributor experience, including multi-Python version testing, automated patch releases, and a formalized agent development guide. Numerous bug fixes and dependency updates further improve reliability and maintainability.

New Features

  • Migrated the project to a Pixi-based pyproject.toml setup, consolidating all dependencies, removing legacy config files, updating CI workflows, and replacing Makefile targets with Pixi tasks. Jupyter notebooks were converted to Marimo format, and new setup instructions were added for contributors. (5a2381) (Eric Ma)
  • Added multi-Python version testing using Pixi environments, supporting Python 3.11, 3.12, and 3.13. The CI matrix and documentation were updated accordingly. (b0bc73) (Eric Ma)
  • Introduced automated patch releases on every merge to the dev branch, with safeguards to prevent duplicate releases and documentation explaining the release system. (c43292) (Eric Ma)
  • Formalized and expanded AGENTS.md as an agent constitution and development guide, including self-improvement protocols, project principles, environment setup, code style rules, and best practices for LLM agents. (0f12a7) (Eric Ma)
  • Added a troubleshooting section for TLS certificate errors in the development guide, including workarounds and improved markdown formatting. (b83489) (Eric Ma)
  • Updated contributor documentation to use the all-contributors format, displaying names and avatars, and consolidated contributor information. (14a3a1, b22064) (Eric Ma)
  • Improved the development guide for contributors, providing a clearer, step-by-step setup and contribution process, and added a Pixi task to install pre-commit hooks. (f1afdf) (Eric Ma)
  • Added explicit instructions and troubleshooting for using markdownlint in AGENTS.md, and improved formatting for readability. (b44407) (Eric Ma)
  • Added new dependencies: rdkit, numba, pyspark, requests, unyt, matplotlib, and openpyxl to the main environment, and updated environment structure. (c7acf7, dd2100, 0b7bd2) (Eric Ma)
  • Added Dependabot configuration to automate GitHub Actions dependency updates. (dbd173) (Eric Ma)
  • Added automated release notes generation with llamabot. (5a2381) (Eric Ma)

Bug Fixes

  • Fixed handling of the spec parameter in _pivot_longer_dot_value to correctly process non-dot-value columns, preventing missing or incorrect dimension columns. (c66b62) (Eric Ma)
  • Improved robustness of bin_numeric and change_index_dtype functions to handle edge cases, including better error messages and support for tuple-based indexes. (1bf388) (Eric Ma)
  • Ensured DataFrame copies are made before mutation in several modules, improved MultiIndex and column checks, and used stable sorting to preserve order. (9acc64) (Eric Ma)
  • Fixed test isolation in read_csvs tests by using tmp_path for parallel execution. (a4fd3f) (Eric Ma)
  • Fixed release build process by switching to uv build to avoid missing build package errors. (807515) (Eric Ma)
  • Fixed trailing space in dtype docstring parameter. (bb13cf) (Eric Ma)
  • Fixed various typos and spelling errors across the codebase and documentation. (74d5d3, 042fcf) (Eric Ma, Kian-Meng Ang)
  • Fixed documentation issues, broken references, and updated Python version requirement to 3.11+. (a107a6) (Eric Ma)
  • Fixed docstring and doctest formatting for consistent output and reliable testing. (670f16, 9f2357, 2f83cb) (Eric Ma)
  • Marked test_pivot_sort_by_appearance as xfail due to non-deterministic ordering in CI. (bc61a7) (Eric Ma)
  • Removed invalid noqa directives from code and tests. (1b5377) (Eric Ma)

Deprecations

  • Removed deprecated and unused CI and utility scripts, including build_environment.sh, unpack_environment.sh, count_functions.py, and docker_deploy.sh. (1527d0) (Eric Ma)
  • Removed legacy configuration files and scripts as part of the Pixi migration, including environment-dev.yml, .flake8, .darglint, .codecov.yml, .bumpversion.cfg, .pyup.yml, .deepsource.toml, and setup.py. (5a2381) (Eric Ma)
  • Removed unused auto-update workflow and redundant CI steps. (f1956d, 901f4b) (Eric Ma)
  • Removed devtools and notebook features from dependencies and environments. (0b7bd2) (Eric Ma)
  • Removed AUTHORS.md in favor of the all-contributors format. (14a3a1) (Eric Ma)

Don't miss a new pyjanitor release

NewReleases is sending notifications on new releases.