Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

queue_with_itemdata() has been deprecated since htcondor 10.7.0 #12238

Open
mapellidario opened this issue Jan 22, 2025 · 0 comments
Open

queue_with_itemdata() has been deprecated since htcondor 10.7.0 #12238

mapellidario opened this issue Jan 22, 2025 · 0 comments
Labels
Feature change Technical Debt Used to track issues that address technical needs internal to WM team

Comments

@mapellidario
Copy link
Member

Impact of the new feature

WMAgent

Is your feature request related to a problem? Please describe.

The function htcondor.Submit.queue_with_itemdata() has been deprecated since HTCondor 10.7.0 [1]. We use it to submit jobs from the agent to the schedd, here

submitRes = sub.queue_with_itemdata(txn, 1, iter(jobParams))

Describe the solution you'd like

As suggested by the official docs, we should use schedd.Submit() instead.

Describe alternatives you've considered

none

Additional context

This has been discovered when working on #12031 , which can proceed even without this issue being closed first as I managed to properly submit jobs in my test agent with 2.3.8rc12. However, I would address this issue sooner rather than later.


[1]

https://htcondor.readthedocs.io/en/latest/apis/python-bindings/api/htcondor.html#htcondor.Submit.queue_with_itemdata

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature change Technical Debt Used to track issues that address technical needs internal to WM team
Projects
Status: ToDo
Development

No branches or pull requests

1 participant