[med-svn] [Git][med-team/patsy][master] 9 commits: d/watch: version=5
Andreas Tille (@tille)
gitlab at salsa.debian.org
Mon Aug 31 16:11:34 BST 2026
Andreas Tille pushed to branch master at Debian Med / patsy
Commits:
1e85ce5b by Andreas Tille at 2026-08-31T15:41:29+02:00
d/watch: version=5
- - - - -
389a252c by Andreas Tille at 2026-08-31T15:44:59+02:00
New upstream version 1.0.3
- - - - -
06aa972b by Andreas Tille at 2026-08-31T15:44:59+02:00
New upstream version
- - - - -
799428c1 by Andreas Tille at 2026-08-31T15:45:01+02:00
Update upstream source from tag 'upstream/1.0.3'
Update to upstream version '1.0.3'
with Debian dir d96e3a36fc72dde6be042e7847a1ea3e3f714dc1
- - - - -
4bec6ab4 by Andreas Tille at 2026-08-31T15:45:01+02:00
Standards-Version: 4.7.4 (routine-update)
- - - - -
d85f68bf by Andreas Tille at 2026-08-31T15:45:30+02:00
Changes made by cme
- - - - -
a387e6cc by Andreas Tille at 2026-08-31T15:46:24+02:00
Bug closed in new upstream version
- - - - -
90d4fdad by Andreas Tille at 2026-08-31T15:49:03+02:00
Update patches
- - - - -
ae7178e8 by Andreas Tille at 2026-08-31T17:06:50+02:00
Team upload to unstable
- - - - -
17 changed files:
- + .github/dependabot.yml
- + .github/workflows/publish.yml
- + .github/workflows/tox.yml
- .pre-commit-config.yaml
- debian/changelog
- debian/control
- debian/patches/Remove-external-image-links.patch
- − debian/patches/fix-sphinx-conf.patch
- debian/patches/series
- debian/watch
- doc/changes.rst
- doc/conf.py
- doc/index.rst
- doc/spline-regression.rst
- patsy/constraint.py
- patsy/version.py
- setup.py
Changes:
=====================================
.github/dependabot.yml
=====================================
@@ -0,0 +1,8 @@
+version: 2
+updates:
+ # Maintain dependencies for GitHub Actions
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ # Check for updates to GitHub Actions every week
+ interval: "weekly"
=====================================
.github/workflows/publish.yml
=====================================
@@ -0,0 +1,27 @@
+name: Publish tagged releases to PyPI
+
+on:
+ push:
+ tags:
+ - "v*"
+
+jobs:
+ deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout at v7
+ - name: Set up Python
+ uses: actions/setup-python at v7
+ with:
+ python-version: '3.10'
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install setuptools wheel twine
+ - name: Build and publish
+ env:
+ TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
+ TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
+ run: |
+ python setup.py sdist bdist_wheel
+ twine upload dist/*
=====================================
.github/workflows/tox.yml
=====================================
@@ -0,0 +1,57 @@
+name: Run Tox Tests
+
+on:
+ push:
+ branches:
+ - "*"
+ pull_request:
+ branches:
+ - "*"
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ max-parallel: 4
+ matrix:
+ python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
+ pandas-presence: ['with_pandas', 'without_pandas']
+ env:
+ PYTHON_VERSION: ${{ matrix.python-version }}
+ PANDAS_PRESENCE: ${{ matrix.pandas-presence }}
+ steps:
+ - uses: actions/checkout at v7
+ - name: Set up Python ${{ matrix.python-version }}
+ id: gha-python
+ uses: actions/setup-python at v7
+ with:
+ python-version: ${{ matrix.python-version }}
+ continue-on-error: true
+ - name: Install PyEnv
+ if: ${{ steps.gha-python.outcome == 'failure' }}
+ run: |
+ curl https://pyenv.run | bash
+ PYENV_ROOT="$HOME/.pyenv"
+ echo "$PYENV_ROOT/bin" >> $GITHUB_PATH
+ echo "$PYENV_ROOT/shims" >> $GITHUB_PATH
+ echo "PYENV_ROOT=$PYENV_ROOT" >> $GITHUB_ENV
+ - name: Install Python ${{ matrix.python-version }} using PyEnv
+ if: ${{ steps.gha-python.outcome == 'failure' }}
+ run: |
+ pyenv install "${{ matrix.python-version }}"
+ pyenv local "${{ matrix.python-version }}"
+ pyenv versions
+ - name: Install dependencies
+ run: |
+ pip install -U pip
+ pip install tox tox-gh-actions
+ - name: Test with tox
+ run: |
+ PYTHON_ENV="py$(echo $PYTHON_VERSION | sed 's/\.//;s/\-dev//')"
+ tox -e "${PYTHON_ENV}-${PANDAS_PRESENCE}"
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action at v7
+ with:
+ files: ./coverage.xml
+ flags: unittests
+ env_vars: PYTHON_VERSION,PANDAS_PRESENCE
=====================================
.pre-commit-config.yaml
=====================================
@@ -15,7 +15,7 @@ repos:
exclude: ".ipynb"
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.13.2
+ rev: v0.16.4
hooks:
- id: ruff-format
types_or: [ python, pyi, jupyter ]
=====================================
debian/changelog
=====================================
@@ -1,3 +1,20 @@
+patsy (1.0.3-1) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Alexandre Detiste ]
+ * apply Multiarch hint
+
+ [ Andreas Tille ]
+ * New upstream version
+ Closes: #1145292
+ * d/watch: version=5
+ * Standards-Version: 4.7.4 (routine-update)
+ * Reflow Uploaders field (cme)
+ * Remove Priority field (cme)
+
+ -- Andreas Tille <tille at debian.org> Mon, 31 Aug 2026 15:49:13 +0200
+
patsy (1.0.2-1) unstable; urgency=medium
* Team Upload.
=====================================
debian/control
=====================================
@@ -1,34 +1,38 @@
Source: patsy
+Standards-Version: 4.7.4
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Yaroslav Halchenko <debian at onerussian.com>,
- Michael Hanke <michael.hanke at gmail.com>,
+Uploaders:
+ Yaroslav Halchenko <debian at onerussian.com>,
+ Michael Hanke <michael.hanke at gmail.com>,
Section: python
-Priority: optional
-Build-Depends: debhelper-compat (= 13),
- dh-sequence-python3,
- python3-all,
- python3-setuptools,
- python3-numpy,
- python3-scipy,
- python3-pandas,
- python3-pickleshare <!nodoc>,
- python3-pytest <!nocheck>,
- python3-matplotlib,
- python3-sphinx,
- ipython3,
-Standards-Version: 4.7.2
Testsuite: autopkgtest-pkg-pybuild
+Build-Depends:
+ debhelper-compat (= 14),
+ dh-sequence-python3,
+ python3-all,
+ python3-setuptools,
+ python3-numpy,
+ python3-scipy,
+ python3-pandas,
+ python3-pickleshare <!nodoc>,
+ python3-pytest <!nocheck>,
+ python3-matplotlib,
+ python3-sphinx,
+ ipython3,
Vcs-Browser: https://salsa.debian.org/med-team/patsy
Vcs-Git: https://salsa.debian.org/med-team/patsy.git
Homepage: https://github.com/pydata/patsy
Package: python3-patsy
Architecture: all
-Depends: ${misc:Depends},
- ${python3:Depends},
- python3-numpy:any
-Recommends: python3-pandas
-Suggests: python-patsy-doc
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+ python3-numpy:any,
+Recommends:
+ python3-pandas,
+Suggests:
+ python-patsy-doc,
Description: statistical models in Python using symbolic formulas
patsy is a Python library for describing statistical models
(especially linear models, or models that have a linear component)
@@ -38,12 +42,14 @@ Description: statistical models in Python using symbolic formulas
Package: python-patsy-doc
Architecture: all
-Section: doc
-Depends: ${misc:Depends},
- libjs-jquery,
- libjs-underscore
-Suggests: python3-patsy
Multi-Arch: foreign
+Section: doc
+Depends:
+ ${misc:Depends},
+ libjs-jquery,
+ libjs-underscore,
+Suggests:
+ python3-patsy,
Description: documentation and examples for patsy
This package contains documentation and example scripts for
python3-patsy.
=====================================
debian/patches/Remove-external-image-links.patch
=====================================
@@ -4,7 +4,7 @@ Last Changed: Sat, July 11, 2020
--- a/doc/changes.rst
+++ b/doc/changes.rst
-@@ -3,10 +3,7 @@
+@@ -3,10 +3,7 @@ Changes
.. currentmodule:: patsy
@@ -14,5 +14,5 @@ Last Changed: Sat, July 11, 2020
- :target: https://doi.org/10.5281/zenodo.592075
+All Patsy releases are archived at Zenodo.
- v1.0.2
+ v1.0.3
------
=====================================
debian/patches/fix-sphinx-conf.patch deleted
=====================================
@@ -1,30 +0,0 @@
-Author: Nilesh Patra <npatra974 at gmail.com>
-Description: Fix sphinx conf.py
-Last-Update: Sun Sep 26 20:56:19 2021 +0530
-
---- a/doc/conf.py
-+++ b/doc/conf.py
-@@ -75,9 +75,9 @@
- # Undocumented trick: if we def setup here in conf.py, it gets called just
- # like an extension's setup function.
- def setup(app):
-- app.add_javascript("show-code.js")
-- app.add_javascript("facebox.js")
-- app.add_stylesheet("facebox.css")
-+ app.add_js_file("show-code.js")
-+ app.add_js_file("facebox.js")
-+ app.add_css_file("facebox.css")
-
-
- # Add any paths that contain templates here, relative to this directory.
---- a/doc/spline-regression.rst
-+++ b/doc/spline-regression.rst
-@@ -180,7 +180,7 @@
- ....: {"x1": x1.ravel(), "x2": x2.ravel(), "df": df})
- ....:
-
-- In [80]: print y.shape
-+ In [80]: print(y.shape)
-
- In [90]: fig = plt.figure()
-
=====================================
debian/patches/series
=====================================
@@ -1,3 +1,2 @@
Allow-warning-in-ipython.patch
Remove-external-image-links.patch
-fix-sphinx-conf.patch
=====================================
debian/watch
=====================================
@@ -1,3 +1,6 @@
-version=4
-opts="dversionmangle=s/.dfsg$//,uversionmangle=s/v//,filenamemangle=s/.*\/(.*)/patsy-$1\.tar\.gz/" \
- https://github.com/pydata/patsy/tags (?:.*?/)v?([\d\.rc]+).tar.gz
+Version: 5
+
+Template: Github
+Dist: https://github.com/pydata/patsy
+Dversion-Mangle: auto
+Uversion-Mangle: s/v//
=====================================
doc/changes.rst
=====================================
@@ -8,6 +8,13 @@ All Patsy releases are archived at Zenodo:
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.592075.svg
:target: https://doi.org/10.5281/zenodo.592075
+v1.0.3
+------
+
+* Added official support for Python 3.14.
+* Fixed constraint tokenizer compatibility with Python 3.15 pre-releases.
+* Updates to CI tooling and doc building.
+
v1.0.2
------
@@ -87,7 +94,7 @@ New features:
characters as valid formula descriptions in
the high-level formula API (:func:`dmatrix` and friends). This is
intended as a convenience for people using Python 2 with ``from
- __future__ import unicode_literals``. (See :ref:`py2-versus-py3`.)
+ __future__ import unicode_literals``.
Bug fixes:
=====================================
doc/conf.py
=====================================
@@ -75,9 +75,9 @@ extensions = [
# Undocumented trick: if we def setup here in conf.py, it gets called just
# like an extension's setup function.
def setup(app):
- app.add_javascript("show-code.js")
- app.add_javascript("facebox.js")
- app.add_stylesheet("facebox.css")
+ app.add_js_file("show-code.js")
+ app.add_js_file("facebox.js")
+ app.add_js_file("facebox.css")
# Add any paths that contain templates here, relative to this directory.
@@ -240,9 +240,9 @@ latex_documents = [
autoclass_content = "both"
intersphinx_mapping = {
- "python": ("http://docs.python.org", None),
- "numpy": ("http://docs.scipy.org/doc/numpy", None),
- "pandas": ("http://pandas.pydata.org/pandas-docs/stable/", None),
+ "python": ("https://docs.python.org/3/", None),
+ "numpy": ("https://numpy.org/doc/stable/", None),
+ "pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None),
}
-autodoc_member_order = "source"
+autodoc_member_order = "bysource"
=====================================
doc/index.rst
=====================================
@@ -4,38 +4,27 @@
contain the root `toctree` directive.
patsy - Describing statistical models in Python
-===================================================
+===============================================
+
+Patsy documentation
Contents:
.. toctree::
:maxdepth: 2
- overview.rst
-
- quickstart.rst
-
- formulas.rst
-
- categorical-coding.rst
-
- stateful-transforms.rst
-
- spline-regression.rst
-
- expert-model-specification.rst
-
- library-developers.rst
-
- R-comparison.rst
-
- py2-versus-py3.rst
-
- API-reference.rst
-
- builtins-reference.rst
-
- changes.rst
+ overview
+ quickstart
+ formulas
+ categorical-coding
+ stateful-transforms
+ spline-regression
+ expert-model-specification
+ library-developers
+ R-comparison
+ API-reference
+ builtins-reference
+ changes
Indices and tables
==================
=====================================
doc/spline-regression.rst
=====================================
@@ -179,7 +179,7 @@ marginal spline bases patterns can be observed on the x and y contour projection
....: {"x1": x1.ravel(), "x2": x2.ravel(), "df": df})
....:
- In [80]: print y.shape
+ In [80]: print(y.shape)
In [90]: fig = plt.figure()
=====================================
patsy/constraint.py
=====================================
@@ -187,7 +187,7 @@ def _tokenize_constraint(string, variable_names):
lparen_re = r"\("
rparen_re = r"\)"
op_re = "|".join([re.escape(op.token_type) for op in _ops])
- num_re = r"[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?"
+ num_re = r"[-+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?"
whitespace_re = r"\s+"
# Prefer long matches:
=====================================
patsy/version.py
=====================================
@@ -6,15 +6,15 @@
# places -- it is imported by patsy/__init__.py, execfile'd by setup.py, etc.
# We use a simple scheme:
-# 1.0.2 -> 1.0.2+dev -> 1.1.0 -> 1.1.0+dev
+# 1.0.3 -> 1.0.3+dev -> 1.1.0 -> 1.1.0+dev
# where the +dev versions are never released into the wild, they're just what
# we stick into the VCS in between releases.
#
# This is compatible with PEP 440:
# http://legacy.python.org/dev/peps/pep-0440/
# via the use of the "local suffix" "+dev", which is disallowed on index
-# servers and causes 1.0.2+dev to sort after plain 1.0.2, which is what we
-# want. (Contrast with the special suffix 1.0.2.dev, which sorts *before*
-# 1.0.2.)
+# servers and causes 1.0.3+dev to sort after plain 1.0.3, which is what we
+# want. (Contrast with the special suffix 1.0.3.dev, which sorts *before*
+# 1.0.3.)
-__version__ = "1.0.2"
+__version__ = "1.0.3"
=====================================
setup.py
=====================================
@@ -27,6 +27,7 @@ setup(
# Possibly we need an even newer numpy than this, but we definitely
# need at least 1.4 for triu_indices
"numpy >= 1.4",
+ "packaging",
],
extras_require={
"test": ["pytest", "pytest-cov", "scipy"],
@@ -47,6 +48,7 @@ setup(
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
+ "Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
],
)
View it on GitLab: https://salsa.debian.org/med-team/patsy/-/compare/7c366b6d6d9eae96fee83b9d160c363e8a116978...ae7178e8810f3cc5d536171c61192c354147f42d
--
View it on GitLab: https://salsa.debian.org/med-team/patsy/-/compare/7c366b6d6d9eae96fee83b9d160c363e8a116978...ae7178e8810f3cc5d536171c61192c354147f42d
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260831/28348fdf/attachment-0001.htm>
More information about the debian-med-commit
mailing list