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

CI improvements #60

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

CI improvements #60

wants to merge 1 commit into from

Conversation

ArnoStrouwen
Copy link
Member

Makes CI more uniform with rest of SciML.
Removes testing for 1.6, since rest of SciML dropped support.
Activates errors on deprecation. Not sure what to do with the tests in the legacy file, since these will now error.

Copy link

codecov bot commented May 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 2.56%. Comparing base (733a26a) to head (6a04e0f).

Additional details and impacted files
@@             Coverage Diff             @@
##              main     #60       +/-   ##
===========================================
- Coverage   100.00%   2.56%   -97.44%     
===========================================
  Files            6       5        -1     
  Lines           65      39       -26     
===========================================
- Hits            65       1       -64     
- Misses           0      38       +38     
Flag Coverage Δ
docs 2.56% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

version:
- '1.6'
Copy link
Collaborator

Choose a reason for hiding this comment

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

ADTypes is compatible with 1.6 so it needs to be tested on 1.6. There are packages outside of SciML that depend on it and want to support 1.6 (first and foremost DifferentiationInterface). I don't approve this change

@Vaibhavdixit02
Copy link
Member

I think we want to allow the deprecation warnings to pass here. Otherwise, we'd need downstream breaking releases which isn't ideal

@gdalle
Copy link
Collaborator

gdalle commented May 26, 2024

There are packages outside of SciML which use ADTypes and want to preserve compatibility with 1.6. Removing it is not okay.

Why do you want to activate error on deprecation? We deprecated things on purpose in v1 to allow for a smooth transition

@ChrisRackauckas this is a disruptive PR, please don't merge until I'm okay with it

@@ -20,7 +20,7 @@ ADTypesEnzymeCoreExt = "EnzymeCore"
[compat]
ChainRulesCore = "1.0.2"
EnzymeCore = "0.5.3,0.6,0.7"
julia = "1.6"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I need 1.6 support

@@ -52,13 +52,11 @@ end
## Tests

@testset verbose=true "ADTypes.jl" begin
if VERSION >= v"1.10"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Essential for tests on 1.6 where JET doesn't work

@gdalle gdalle marked this pull request as draft May 27, 2024 09:01
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.

3 participants