Bug 297203 - devel/py-celery: Please update to a newer version, e.g., 5.6.3 (latest)
Summary: devel/py-celery: Please update to a newer version, e.g., 5.6.3 (latest)
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Michael Osipov
URL:
Keywords:
Depends on:
Blocks: 297201
  Show dependency treegraph
 
Reported: 2026-07-31 14:00 UTC by Michael Gmelin
Modified: 2026-08-13 12:43 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (olgeni)


Attachments
py-celery (2.87 KB, patch)
2026-08-12 21:52 UTC, Michael Osipov
no flags Details | Diff
py-kombu (3.87 KB, patch)
2026-08-12 21:53 UTC, Michael Osipov
no flags Details | Diff
py-amqp (2.11 KB, patch)
2026-08-12 21:55 UTC, Michael Osipov
no flags Details | Diff
py-celery (2.90 KB, patch)
2026-08-12 22:59 UTC, Michael Osipov
no flags Details | Diff
py-pymongo (2.90 KB, patch)
2026-08-12 23:00 UTC, Michael Osipov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Gmelin freebsd_committer freebsd_triage 2026-07-31 14:00:14 UTC
There was a fix to term.py that's important, see bug #297201. The fix landed in 5.5.0, so if for some reason an update to 5.6.3 is not possible, that would be the oldest working version.
Comment 1 Michael Osipov freebsd_committer freebsd_triage 2026-08-12 20:26:52 UTC
I will happily work on this since we use celery heavily ourselves, but this requires several cascading updates. Please stay tight...
Comment 2 Michael Osipov freebsd_committer freebsd_triage 2026-08-12 21:52:47 UTC
Created attachment 273694 [details]
py-celery
Comment 3 Michael Osipov freebsd_committer freebsd_triage 2026-08-12 21:53:33 UTC
Created attachment 273695 [details]
py-kombu
Comment 4 Michael Osipov freebsd_committer freebsd_triage 2026-08-12 21:55:50 UTC
Created attachment 273697 [details]
py-amqp
Comment 5 Michael Osipov freebsd_committer freebsd_triage 2026-08-12 22:00:47 UTC
Now, while the patches work for me there is a bigger problem: pymongo needs to be bumped to 4.x, affected ports:
$ grep -r --include=Makefile pymongo .
./databases/Makefile:    SUBDIR += py-flask-pymongo
./databases/Makefile:    SUBDIR += py-pymongo
./databases/mongodb70/Makefile:         ${PYTHON_PKGNAMEPREFIX}pymongo>0:databases/py-pymongo@${PY_FLAVOR} \
./databases/mongodb80/Makefile:         ${PYTHON_PKGNAMEPREFIX}pymongo>0:databases/py-pymongo@${PY_FLAVOR} \
./databases/nagios-check_mongodb/Makefile:RUN_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}pymongo>=0:databases/py-pymongo@${PY_FLAVOR}
./databases/py-flask-pymongo/Makefile:PORTNAME= flask-pymongo
./databases/py-flask-pymongo/Makefile:WWW=              https://flask-pymongo.readthedocs.io/en/latest/ \
./databases/py-flask-pymongo/Makefile:          ${PYTHON_PKGNAMEPREFIX}pymongo>=3.11:databases/py-pymongo@${PY_FLAVOR} \
./databases/py-mongoengine/Makefile:RUN_DEPENDS=        ${PYTHON_PKGNAMEPREFIX}pymongo>=3.4<5.0:databases/py-pymongo@${PY_FLAVOR}
./databases/py-motor/Makefile:RUN_DEPENDS=      ${PYTHON_PKGNAMEPREFIX}pymongo>=3.3:databases/py-pymongo@${PY_FLAVOR}
./databases/py-pymongo/Makefile:PORTNAME=       pymongo
./databases/py-pymongo/Makefile:CONFLICTS_INSTALL=      py[0-9][0-9]-pymongo28
./databases/py-pymongo/Makefile:                ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pymongo/_cmessage${PYTHON_TAG}.so
./devel/py-cachier/Makefile:# TEST_DEPENDS has 2 not-yet-ported dependencies: birch, pymongo-inmemory
./devel/py-jsonpickle/Makefile:         ${PYTHON_PKGNAMEPREFIX}pymongo>0:databases/py-pymongo@${PY_FLAVOR} \
./devel/py-minimongo/Makefile:RUN_DEPENDS=      ${PYTHON_PKGNAMEPREFIX}pymongo>=1.9:databases/py-pymongo@${PY_FLAVOR}
./devel/py-mongokit/Makefile:COMMENT=   Python ORM-like layer on top of pymongo
./devel/py-mongokit/Makefile:RUN_DEPENDS=       ${PYTHON_PKGNAMEPREFIX}pymongo>=2.5:databases/py-pymongo@${PY_FLAVOR}
./devel/py-osprofiler/Makefile:MONGO_RUN_DEPENDS=       ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0.2:databases/py-pymongo@${PY_FLAVOR}
./devel/py-pydantic-extra-types/Makefile:ALL_RUN_DEPENDS=       ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0.0<5.0.0:databases/py-pymongo@${PY_FLAVOR} \
./misc/py-apache-beam/Makefile:         ${PYTHON_PKGNAMEPREFIX}pymongo>=3.8.0:databases/py-pymongo@${PY_FLAVOR} \
./net/py-kombu/Makefile:MONGODB_RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}pymongo>=4.17.0:databases/py-pymongo@${PY_FLAVOR}
./science/py-mpcontribs-client/Makefile:                ${PYTHON_PKGNAMEPREFIX}pymongo>0:databases/py-pymongo@${PY_FLAVOR} \
./www/py-bottle-cork/Makefile:MONGODB_RUN_DEPENDS=      ${PYTHON_PKGNAMEPREFIX}pymongo>0:databases/py-pymongo@${PY_FLAVOR}
./www/py-wsgidav/Makefile:              ${PYTHON_PKGNAMEPREFIX}pymongo>=3.13:databases/py-pymongo@${PY_FLAVOR} \


The problem is that pymongo 4 removed deprecated APIs which means that those potential consumers could be broken. Both cannot be installed in parallel.

I can update pymongo and maintainers need to live with the fallout...
Comment 6 Michael Osipov freebsd_committer freebsd_triage 2026-08-12 22:59:45 UTC
Created attachment 273699 [details]
py-celery
Comment 7 Michael Osipov freebsd_committer freebsd_triage 2026-08-12 23:00:49 UTC
Created attachment 273700 [details]
py-pymongo

Updated py-pymongo, all builds now. No fallout check done. py-pymongo is an optional dep of py-kombu.
Comment 8 Michael Osipov freebsd_committer freebsd_triage 2026-08-13 12:43:15 UTC
Updated and built all consumers:
grep -r --include=Makefile* devel/py-celery@ net/py-kombu@ databases/py-pymongo@

databases/mongodb70 databases/mongodb80 databases/nagios-check_mongodb databases/py-flask-pymongo databases/py-mongoengine databases/py-motor devel/py-celery-progress devel/py-celery devel/py-eventlib devel/py-jsonpickle devel/py-minimongo devel/py-mongokit devel/py-oslo.messaging devel/py-osprofiler devel/py-pydantic-extra-types devel/py-taskflow misc/py-apache-beam net/py-kombu science/py-mpcontribs-client security/py-iris-check-module security/py-iris-evtx-module sysutils/py-mqttwarn www/py-bottle-cork www/py-django-celery-results www/py-flower www/py-wsgidav 

[03:10:28] Built ports: x11/xcb-proto textproc/p5-XML-Parser devel/libpciaccess textproc/py-sphinxcontrib-jsmath@py312 devel/py-defusedxml@py312 comms/py-pyserial@py312 devel/py-pytz@py312 devel/py-vcversioner@py312 devel/py-cfgv@py312 devel/py-entrypoint2@py312 www/py-rfc3986@py312 devel/py-identify@py312 www/py-asgiref@py312 textproc/py-json2html@py312 devel/py-shellingham@py312 sysutils/py-ptyprocess@py312 devel/py-paver@py312 devel/py-olefile@py312 security/py-iris-module-interface@py312 textproc/py-parso@py312 devel/py-ply@py312 devel/py-asttokens@py312 devel/py-zope.interface@py312 www/py-paste@py312 devel/glib20@bootstrap devel/py-monotonic@py312 textproc/py-sphinx-markdown-tables@py312 converters/py-webencodings@py312 devel/py-funcy@py312 devel/py-tabulate@py312 graphics/webp devel/py-jedi@py312 devel/py-future@py312 devel/py-backports.zstd@py312 graphics/lcms2 textproc/groff security/py-itsdangerous@py312 devel/py-userpath@py312 devel/py-nodeenv@py312 www/py-python-dotenv@py312 textproc/py-alabaster@py312 sysutils/py-filelock@py312 www/py-soupsieve@py312 devel/py-jsonpickle@py312 devel/py-invoke@py312 textproc/py-fastavro@py312 devel/py-phonenumbers@py312 devel/py-objsize@py312 archivers/py-zopfli@py312 devel/py-filetype@py312 devel/py-pkgconfig@py312 www/py-hyperlink@py312 devel/py-typing-inspection@py312 devel/py-docopt@py312 net/py-pysocks@py312 www/py-beaker@py312 devel/py-versioneer@py312 textproc/py-sphinxcontrib-htmlhelp@py312 devel/py-fasteners@py312 devel/py-pyrsistent@py312 textproc/py-roman-numerals@py312 devel/py-uv-build@py312 devel/py-repoze.lru@py312 textproc/py-sphinxcontrib-applehelp@py312 textproc/py-CommonMark@py312 devel/py-coherent.licensed@py312 devel/py-traitlets@py312 devel/py-pdm-backend@py312 devel/py-flatten-dict@py312 devel/py-platformdirs@py312 textproc/py-chardet@py312 misc/py-pexpect@py312 graphics/py-imagesize@py312 devel/py-greenlet@py312 devel/py-distlib@py312 devel/py-unicodedata2@py312 devel/py-uv@py312 devel/py-time-machine@py312 devel/py-semver@py312 devel/py-prettytable@py312 devel/py-cycler@py312 devel/py-zipp@py312 devel/py-flexparser@py312 devel/py-cachetools@py312 databases/py-sqlite3@py312 textproc/py-python-ulid@py312 www/py-werkzeug@py312 devel/py-json5@py312 misc/py-tqdm@py312 devel/py-yappi@py312 devel/boost-jam devel/py-iso8601@py312 net/py-wsproto@py312 devel/py-executing@py312 devel/py-ujson@py312 databases/py-sqlparse@py312 devel/py-dunamai@py312 www/py-priority1@py312 sysutils/py-distro@py312 devel/py-pure-eval@py312 misc/py-palettable@py312 databases/py-redis2@py312 devel/py-cheetah3@py312 sysutils/py-psutil@py312 textproc/py-pycountry@py312 devel/py-protobuf@py312 textproc/py-sphinxcontrib-qthelp@py312 net/py-paho-mqtt@py312 devel/py-gast@py312 devel/py-decorator@py312 devel/py-stack-data@py312 devel/py-joblib@py312 devel/py-pyparsing@py312 devel/py-pbr@py312 devel/py-jsonschema3@py312 devel/py-ejson@py312 textproc/py-pylons-sphinx-themes@py312 www/py-pastedeploy@py312 devel/py-scikit-build-core@py312 devel/py-jeepney@py312 textproc/py-tomli-w@py312 devel/py-smmap@py312 www/py-httplib2@py312 devel/py-proto-plus@py312 devel/py-pdm-pep517@py312 devel/py-statsd@py312 www/py-django52@py312 devel/py-retry2@py312 devel/py-incremental@py312 textproc/py-yapf@py312 www/py-tornado@py312 devel/py-pybind11@py312 devel/py-gitdb@py312 devel/py-appdirs@py312 devel/py-constantly@py312 graphics/openjpeg textproc/py-bibtexparser@py312 archivers/py-brotli@py312 net/py-netaddr@py312 devel/py-cogapp@py312 devel/py-logan@py312 textproc/py-sphinxcontrib-serializinghtml@py312 devel/py-jaraco.context@py312 devel/py-boltons@py312 textproc/py-mdurl@py312 devel/py-blinker@py312 devel/py-annotated-types@py312 devel/py-funcsigs@py312 devel/py-cron-converter@py312 devel/py-python-discovery@py312 devel/py-simplejson@py312 net/py-urllib3@py312 devel/py-importlib-metadata@py312 devel/py-gitpython@py312 devel/py-wrapt@py312 devel/py-nanobind@py312 devel/py-ipython-pygments-lexers@py312 devel/py-google-re2@py312 textproc/py-markdown-it-py@py312 devel/py-jsonref@py312 textproc/py-accessible-pygments@py312 www/py-requests-futures@py312 devel/py-tenacity@py312 devel/py-pyyaml@py312 textproc/py-pystemmer@py312 devel/py-ruamel.yaml.clib@py312 textproc/py-splunk-hec@py312 textproc/py-mdit-py-plugins@py312 devel/py-stevedore@py312 devel/py-google-re2-stubs@py312 devel/py-automaton@py312 devel/py-debtcollector@py312 devel/py-oslo.context@py312 devel/py-oslo.i18n@py312 textproc/py-snowballstemmer@py312 www/py-html5lib@py312 textproc/intltool devel/aws-c-s3 devel/py-proselint@py312 devel/py-futurist@py312 devel/py-oslo.config@py312 devel/py-oslo.utils@py312 textproc/py-evtx2splunk@py312 www/py-bottle@py312 devel/py-oslo.concurrency@py312 devel/aws-crt-cpp graphics/py-plotly@py312 devel/py-Automat@py312 devel/py-flexcache@py312 math/py-matplotlib-inline@py312 devel/py-beniget@py312 devel/py-lxml@py312 devel/py-humanize@py312 x11-toolkits/py-tkinter@py312 devel/py-pendulum@py312 security/py-bcrypt@py312 devel/py-orjson@py312 textproc/py-rich@py312 devel/py-ruamel.yaml@py312 misc/py-uuid-utils@py312 www/py-beautifulsoup@py312 devel/py-more-itertools@py312 devel/py-rpds-py@py312 devel/py-cppy@py312 net/py-eventlet@py312 textproc/py-sphinxcontrib-devhelp@py312 devel/py-jaraco.classes@py312 devel/py-jaraco.functools@py312 databases/py-pymongo@py312 devel/py-referencing@py312 devel/py-click-default-group@py312 devel/py-libcst@py312 devel/py-twisted@py312 www/py-cheroot@py312 devel/py-mongokit@py312 devel/py-jsonschema-specifications@py312 devel/py-minimongo@py312 math/py-gmpy2@py312 databases/nagios-check_mongodb devel/py-jsonschema@py312 databases/py-motor@py312 net-mgmt/py-prometheus-client@py312 databases/py-mongoengine@py312 math/py-mpmath@py312 print/py-fonttools@py312 math/py-kiwisolver@py312 archivers/py-zstandard@py312 devel/py-swagger-spec-validator@py312 www/py-routes@py312 www/py-django-celery-results@py312 www/py-flower@py312 devel/py-eventlib@py312 devel/ipython@py312 textproc/py-tomlkit@py312 graphics/gd devel/py-celery-progress@py312 devel/py-pint@py312 www/py-wsgidav@py312 math/py-sympy@py312 devel/git@default devel/py-msgpack@py312 devel/py-uv-dynamic-versioning@py312 devel/py-oslo.serialization@py312 devel/py-versioningit@py312 devel/boost-libs textproc/py-sphinx-inline-tabs@py312 textproc/py-sphinxcontrib-jquery@py312 science/py-phonors@py312 textproc/py-sphinx-copybutton@py312 www/py-bravado-core@py312 textproc/py-sphinx-basic-ng@py312 devel/py-grpcio@py312 textproc/py-sphinx-argparse@py312 textproc/py-towncrier@py312 textproc/py-recommonmark@py312 www/py-webob@py312 www/py-httpcore2@py312 devel/py-pydantic-core@py312 www/py-bravado@py312 www/py-flask@py312 devel/py-oslo.middleware@py312 devel/py-osprofiler@py312 sysutils/py-mqttwarn@py312 www/py-bottle-cork@py312 databases/py-flask-pymongo@py312 science/libkml www/py-httpx2@py312 devel/py-pydantic2@py312 devel/thrift-cpp devel/py-pydantic-extra-types@py312 textproc/py-sphinx-autodoc-typehints@py312 textproc/py-furo@py312 devel/py-easyprocess@py312 textproc/py-myst-parser@py312 textproc/py-sphinxcontrib-towncrier@py312 textproc/py-sphinx_rtd_theme@py312 textproc/py-sphinxcontrib-mermaid@py312 devel/glib20@default archivers/py-pyunpack@py312 security/gpgme misc/shared-mime-info sysutils/polkit devel/py-virtualenv@py312 devel/dbus-glib graphics/cairo graphics/gdk-pixbuf2 devel/py-pre-commit@py312 security/py-iris-evtx-module@py312 security/py-iris-check-module@py312 graphics/py-pycairo@py312 devel/py-oslo.log@py312 net/avahi-app devel/pygobject-common devel/py-oslo.metrics@py312 devel/py-oslo.service@py312 print/harfbuzz devel/py-oslo.messaging@py312 devel/py-pygobject@py312 audio/pulseaudio x11-toolkits/pango print/ghostscript10 graphics/py-pillow@py312 graphics/py-pydot@py312 graphics/py-pygraphviz@py312 devel/py-dbus@py312 security/py-SecretStorage@py312 security/py-keyring@py312 devel/py-hatch@py312 mail/py-pyisemail@py312 devel/aws-sdk-cpp lang/gcc14 science/spglib math/blas science/hdf5 math/lapack science/netcdf databases/sfcgal math/openblas math/suitesparse-config math/suitesparse-btf math/suitesparse-camd math/suitesparse-colamd math/suitesparse-ccolamd math/suitesparse-amd math/suitesparse-cholmod math/py-numpy@py312 math/suitesparse-klu math/suitesparse-spqr math/py-uncertainties@py312 math/suitesparse-umfpack devel/py-beartype@py312 math/py-bottleneck@py312 math/py-numexpr@py312 devel/py-pythran@py312 math/py-contourpy@py312 science/py-spglib@py312 science/py-seekpath@py312 science/py-h5py@py312 math/py-matplotlib@py312 math/py-pandas@py312 devel/py-monty@py312 science/py-scipy@py312 science/py-symfc@py312 science/py-ase@py312 science/py-phonopy@py312 science/py-scikit-sparse@py312 graphics/gdal graphics/py-gdal@py312 math/py-networkx@py312 devel/py-taskflow@py312 science/py-pymatgen-core@py312 science/py-pymatgen@py312 science/py-mpcontribs-client@py312 devel/llvm19@default databases/arrow databases/py-pyarrow@py312 misc/py-apache-beam@py312
[03:10:28] Inspected ports: audio/libvorbis x11/libSM devel/gmake security/nettle textproc/freexl textproc/libxml2 archivers/zstd devel/re2 devel/librttopo audio/flac security/p5-Net-SSLeay converters/p5-MIME-Base64 security/p5-Crypt-URandom devel/libdatrie devel/libthai print/psutils graphics/jbig2dec audio/lame lang/python312 devel/swig x11/libxcb devel/gettext-tools security/libgpg-error security/libksba www/w3m databases/gdbm security/rhash devel/p5-Locale-gettext misc/help2man x11/libX11 x11/libXfixes x11-toolkits/libXt security/libassuan x11/libXrender graphics/libdrm devel/p5-Locale-libintl print/texinfo dns/libidn security/libgcrypt math/mpfr devel/binutils@native textproc/gsed security/nss textproc/libxslt devel/dbus dns/libidn2 dns/libpsl ftp/curl devel/cmake-core security/aws-c-cal devel/aws-c-compression devel/libgit2 graphics/tiff devel/aws-c-io devel/aws-c-http devel/aws-c-mqtt multimedia/aom devel/aws-c-sdkutils graphics/libyuv graphics/proj lang/rust graphics/libgeotiff devel/uv print/freetype2 audio/libsndfile x11-fonts/fontconfig x11-fonts/mkfontscale x11-fonts/libXft security/pinentry-curses databases/spatialite math/mpc security/aws-c-auth devel/aws-checksums devel/aws-c-event-stream devel/py-maturin@py312 x11/libXext x11-toolkits/libXmu x11/libXpm x11/libXScrnSaver x11-toolkits/tk86 x11-toolkits/libXaw devel/py-cffi@py312 devel/protobuf devel/grpc x11/libXi x11/libXtst devel/m4 devel/bison databases/mongodb70@default devel/gobject-introspection@bootstrap shells/bash databases/postgresql18-client devel/git@tiny databases/mongodb80@default lang/ruby34 devel/gobject-introspection@default security/p11-kit security/gnutls security/gnupg security/gpgmepp graphics/poppler sysutils/consolekit2 graphics/libavif print/cups print/libraqm graphics/graphviz
[03:10:28] Fetched ports: security/aws-c-cal devel/aws-c-common devel/aws-c-compression devel/aws-c-event-stream security/aws-c-auth devel/aws-c-http devel/aws-c-sdkutils devel/aws-c-mqtt devel/aws-checksums devel/aws-c-io devel/benchmark devel/boehm-gc math/fast_float sysutils/consolekit2 math/eigen3 textproc/freexl devel/gflags graphics/geos misc/getopt graphics/giflib misc/hwdata devel/json-c x11-fonts/libXft science/libaec devel/libatomic_ops lang/erlang-runtime27 graphics/libertiff devel/grpc print/cups math/libdivide graphics/libgeotiff graphics/libdrm devel/librttopo devel/libgit2 security/gnupg print/libraqm devel/git@tiny graphics/libimagequant devel/libudev-devd devel/nlohmann-json graphics/libavif audio/mpg123 security/cyrus-sasl2 security/p5-Digest-HMAC security/nss security/p5-Crypt-URandom audio/libsoxr security/p5-Authen-SASL lang/p5-Error graphics/libyuv sysutils/fd databases/mongodb80@default databases/mongodb70@default security/p11-kit converters/p5-MIME-Base32 converters/p5-MIME-Base64 textproc/evtx www/p5-Mozilla-CA net/p5-URI security/p5-IO-Socket-SSL graphics/proj devel/protobuf net/rabbitmq security/p5-Net-SSLeay math/qhull textproc/rubygem-asciidoctor devel/ruby-gems graphics/poppler textproc/snowballstemmer databases/spatialite audio/speexdsp databases/redis devel/thrift graphics/graphviz graphics/tiff security/s2n-tls net/uriparser textproc/xerces-c3 lang/ruby34 databases/postgresql18-client devel/yaml-cpp archivers/zopfli x11-toolkits/tk86 devel/rust-cbindgen www/w3m textproc/xmlto devel/cargo-c www/websocat devel/uv
[03:10:28] [144-release-amd64-michael-o] [2026-08-13T10:51:20] [committing] Time: 03:10:23
           Queued: 552 Inspected: 106 Ignored: 0 Built: 357 Failed: 0 Skipped: 0 Fetched: 89 Remaining: 0