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

Update the vector deprecation warning #1281

Open
ikrommyd opened this issue Feb 20, 2025 · 0 comments
Open

Update the vector deprecation warning #1281

ikrommyd opened this issue Feb 20, 2025 · 0 comments

Comments

@ikrommyd
Copy link
Collaborator

Currently importing coffea things gives

/home/iason/Dropbox/work/coffea_dev/coffea/src/coffea/nanoevents/schemas/fcc.py:5: FutureWarning: In version 2025.1.0 (target date: 2024-12-31 11:59:59-06:00), this will be an error.
To raise these warnings as errors (and get stack traces to find out where they're called), run
    import warnings
    warnings.filterwarnings("error", module="coffea.*")
after the first `import coffea` or use `@pytest.mark.filterwarnings("error:::coffea.*")` in pytest.
Issue: coffea.nanoevents.methods.vector will be removed and replaced with scikit-hep vector. Nanoevents schemas internal to coffea will be migrated. Otherwise please consider using that package!.
  from coffea.nanoevents.methods import vector

2025.1.0 has passed so this deprecation warning should be updated to future date (or removed completely).

@ikrommyd ikrommyd changed the title Update the vector deprecation warning Update the vector deprecation warning Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant