Skip to content

Conversation

Saransh-cpp
Copy link
Member

Fixes #250

@Saransh-cpp Saransh-cpp added this to the v0.10.0 milestone Sep 5, 2022
pyproject.toml Outdated
dev = [
"awkward>=1.2",
'numba>=0.50; python_version >= "3.6"',
'numba>=0.50; python_version >= "3.7"',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is always true?

noxfile.py Outdated
import nox

ALL_PYTHONS = ["3.6", "3.7", "3.8", "3.9", "3.10"]
ALL_PYTHONS = ["3.7", "3.8", "3.9", "3.10"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add 3.11 now, too? And 3.11-dev to the testing matrix? Awkward supports 3.11 now. Some of the dev dependencies will need to require <3.11.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Actually the 3.11 stuff can be added before 0.9 & this PR)

@henryiii
Copy link
Member

henryiii commented Sep 5, 2022

We can change pyupgrade to --py37plus, and add the annotations addition to isort (see SKHEP dev pages).

@Saransh-cpp
Copy link
Member Author

image

Is this check configured as "required" for the whole org, or can it be disabled for vector?

@jpivarski
Copy link
Member

You probably have access to change this (try checking): go to Settings (gear icon), then Branches (left menu), then Set Protection Rules. Inside that, there's a start-typing-then-dropdown-menu for adding new requirements and a way to "X" out old requirements.

image

I did it already for this one (dropped Python 3.6 and added 3.10 and 3.11-dev).

@Saransh-cpp
Copy link
Member Author

I don't have access to the Settings tab 😅 Thank you!

@Saransh-cpp Saransh-cpp requested a review from henryiii September 6, 2022 05:31
@henryiii
Copy link
Member

henryiii commented Sep 6, 2022

You might have permissions now. Maybe.

requires-python = ">=3.7"
dependencies = [
'importlib-metadata>=0.22; python_version < "3.8"',
"numpy>=1.13.3",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is now higher; the first version to support 3.7 was newer than 1.13.3.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's 1.14.5.

@henryiii
Copy link
Member

henryiii commented Sep 6, 2022

Could you update the isort hook:

- repo: https://github.com/PyCQA/isort
  rev: 5.10.1
  hooks:
  - id: isort
    args: ["-a", "from __future__ import annotations"]

Edit: NVM, I went ahead and added it.

@codecov-commenter
Copy link

codecov-commenter commented Sep 6, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.04%. Comparing base (bfeade3) to head (a442b5a).
Report is 296 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #251      +/-   ##
==========================================
+ Coverage   80.87%   81.04%   +0.16%     
==========================================
  Files          96       96              
  Lines       10529    10623      +94     
==========================================
+ Hits         8515     8609      +94     
  Misses       2014     2014              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Saransh-cpp
Copy link
Member Author

You might have permissions now. Maybe.

Yes! Thank you!

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

Successfully merging this pull request may close these issues.

Drop Python 3.6 support

4 participants