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

Deprecate PPP_CONFIG_DIR for specifying config path #170

Merged
merged 6 commits into from
Nov 29, 2024

Conversation

djhoese
Copy link
Member

@djhoese djhoese commented Nov 21, 2024

This is a continuation of #169 to more fully deprecate PPP_CONFIG_DIR.

This may need updating to have it raise an exception completely. Further discussion is needed. Due to the previous deprecation warning, this PR should not be released until 1.9 is ready.

CC @pnuu @mraspaud @adybbroe

  • Closes #xxxx
  • Tests added
  • Tests passed
  • Passes flake8 pyorbital
  • Fully documented

@djhoese
Copy link
Member Author

djhoese commented Nov 21, 2024

Oh I also made pytest more strict and removed usage of datetime utcnow.

Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.48%. Comparing base (7eb57a5) to head (805d2cf).
Report is 39 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #170      +/-   ##
==========================================
+ Coverage   88.45%   88.48%   +0.02%     
==========================================
  Files          16       16              
  Lines        2391     2397       +6     
==========================================
+ Hits         2115     2121       +6     
  Misses        276      276              
Flag Coverage Δ
unittests 88.48% <100.00%> (+0.02%) ⬆️

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.

@pnuu
Copy link
Member

pnuu commented Nov 21, 2024

I don't see utcnow in the diff, forgot to commit/push that bit?

@coveralls
Copy link

coveralls commented Nov 21, 2024

Coverage Status

coverage: 88.442% (+0.03%) from 88.414%
when pulling 805d2cf on djhoese:dep-env-var
into 1e651fb on pytroll:main.

Copy link
Contributor

@adybbroe adybbroe left a comment

Choose a reason for hiding this comment

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

Looks good, thanks.

@adybbroe
Copy link
Contributor

I don't see utcnow in the diff, forgot to commit/push that bit?

What do you mean? I am not following, sorry

@pnuu
Copy link
Member

pnuu commented Nov 22, 2024

I don't see utcnow in the diff, forgot to commit/push that bit?

What do you mean? I am not following, sorry

Above @djhoese said

Oh I also made pytest more strict and removed usage of datetime utcnow.

I don't see anything related to utcnow in the PR diff, so I was wondering whether something is still missing.

@djhoese
Copy link
Member Author

djhoese commented Nov 22, 2024

Ah yep. I'm just waking up and won't be in front of the computer for a while (kid's doctor appointment). I'll see if I can push it while getting kids ready for the day.

Copy link
Member

@mraspaud mraspaud left a comment

Choose a reason for hiding this comment

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

LGTM! I suppose v1.9 is the next release then, right?

@mraspaud
Copy link
Member

oh, looks like tests are failing...

@djhoese
Copy link
Member Author

djhoese commented Nov 22, 2024

Since this requires a 1.9 release I'll let others (@adybbroe ?) answer whether or not this should be merged and released in 1.9 next or if there should be a 1.8.x release first.

pyorbital/tlefile.py Show resolved Hide resolved
Copy link
Member

@pnuu pnuu left a comment

Choose a reason for hiding this comment

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

LGTM.

I merged main and resolved the conflicts, should be ready to merge now.

@pnuu
Copy link
Member

pnuu commented Nov 29, 2024

Version 1.9.0 is now released, so I'll merge this.

@pnuu pnuu merged commit d582531 into pytroll:main Nov 29, 2024
18 checks passed
@djhoese
Copy link
Member Author

djhoese commented Nov 29, 2024

This was meant to be released as part of 1.9.0 based on the warning messages.

@pnuu
Copy link
Member

pnuu commented Nov 29, 2024

Damn, I read this the wrong way around 🙈

Since this requires a 1.9 release I'll let others (@adybbroe ?) answer whether or not this should be merged and released in 1.9 next or if there should be a 1.8.x release first.

@djhoese djhoese deleted the dep-env-var branch November 29, 2024 15:59
@djhoese
Copy link
Member Author

djhoese commented Nov 29, 2024

Maybe a 1.9.1 release then?

@pnuu
Copy link
Member

pnuu commented Nov 29, 2024

Will do, now that the release deployment was fix in #172 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants