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

Dependabot updates #298

Merged
merged 15 commits into from
Aug 15, 2024
Merged

Dependabot updates #298

merged 15 commits into from
Aug 15, 2024

Conversation

AntObi
Copy link
Collaborator

@AntObi AntObi commented Aug 15, 2024

Pulling in dependabot updates

Summary by CodeRabbit

  • New Features

    • Updated several package dependencies to improve functionality and stability, including pillow, python-dateutil, tqdm, and uncertainties.
    • Included a version constraint for pymatgen to ensure compatibility with a known range of dependencies.
  • Bug Fixes

    • Upgraded pytest to the latest version for enhanced testing capabilities, potentially including bug fixes and performance improvements.

AntObi and others added 12 commits July 10, 2024 15:07
Merge develop branch changes into the master branch
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.3.0 to 10.4.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@10.3.0...10.4.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [python-dateutil](https://github.com/dateutil/dateutil) from 2.9.0 to 2.9.0.post0.
- [Release notes](https://github.com/dateutil/dateutil/releases)
- [Changelog](https://github.com/dateutil/dateutil/blob/master/NEWS)
- [Commits](dateutil/dateutil@2.9.0...2.9.0.post0)

---
updated-dependencies:
- dependency-name: python-dateutil
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [uncertainties](https://github.com/lmfit/uncertainties) from 3.1.7 to 3.2.2.
- [Release notes](https://github.com/lmfit/uncertainties/releases)
- [Changelog](https://github.com/lmfit/uncertainties/blob/master/CHANGES.rst)
- [Commits](lmfit/uncertainties@3.1.7...3.2.2)

---
updated-dependencies:
- dependency-name: uncertainties
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.0 to 8.3.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.2.0...8.3.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.66.3 to 4.66.4.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](tqdm/tqdm@v4.66.3...v4.66.4)

---
updated-dependencies:
- dependency-name: tqdm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor

coderabbitai bot commented Aug 15, 2024

Walkthrough

This update introduces version upgrades for several dependencies in both requirements.txt and requirements-dev.txt. Notably, pytest has been upgraded to enhance testing capabilities, while various libraries in requirements.txt, including pillow and uncertainties, have also been updated to improve functionality and stability. Additionally, the version constraint for pymatgen has been refined in setup.py to ensure compatibility with future releases. These changes facilitate a more robust development environment.

Changes

Files Change Summary
requirements-dev.txt Upgraded pytest from 8.2.0 to 8.3.2.
requirements.txt Updated versions: pillow from 10.3.0 to 10.4.0, python-dateutil from 2.9.0 to 2.9.0.post0, tqdm from 4.66.3 to 4.66.4, and uncertainties from 3.1.7 to 3.2.2.
setup.py Modified pymatgen version constraint from >=2024.2.20 to >=2024.2.20,<2024.8.8.

Sequence Diagram(s)

sequenceDiagram
    participant A as Developer
    participant B as CI System
    participant C as Test Suite
    participant D as Production

    A->>B: Push changes
    B->>C: Run tests with updated dependencies
    C-->>B: Tests pass
    B->>D: Deploy to production
Loading

🐰 In the garden, changes bloom,
New versions bring away the gloom.
With pytest and friends, we leap,
Enhancements made, stability’s deep.
Hop along, let’s code and cheer,
For brighter days, the updates are here! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 8500179 and f7a72b7.

Files selected for processing (2)
  • requirements-dev.txt (1 hunks)
  • requirements.txt (3 hunks)
Files skipped from review due to trivial changes (1)
  • requirements.txt
Additional comments not posted (1)
requirements-dev.txt (1)

4-4: Upgrade pytest to version 8.3.2.

The update to pytest from version 8.2.0 to 8.3.2 likely includes bug fixes, performance improvements, or new features. Ensure that the updated version is compatible with your existing test suite and other dependencies.

Copy link

codecov bot commented Aug 15, 2024

Codecov Report

Attention: Patch coverage is 90.14085% with 7 lines in your changes missing coverage. Please review.

Project coverage is 75.26%. Comparing base (b126e9f) to head (e91d620).
Report is 49 commits behind head on develop.

Files Patch % Lines
smact/dopant_prediction/doper.py 79.31% 6 Missing ⚠️
smact/screening.py 91.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #298      +/-   ##
===========================================
- Coverage    75.40%   75.26%   -0.14%     
===========================================
  Files           24       24              
  Lines         2236     2361     +125     
===========================================
+ Hits          1686     1777      +91     
- Misses         550      584      +34     

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

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between f7a72b7 and 149297e.

Files ignored due to path filters (16)
  • examples/Practical_tutorial/Images/ASO.gif is excluded by !**/*.gif
  • examples/Practical_tutorial/Images/Combinations_vs_Permutations.png is excluded by !**/*.png
  • examples/Practical_tutorial/Images/ZurMcGill.jpg is excluded by !**/*.jpg
  • examples/Practical_tutorial/Images/anderson.gif is excluded by !**/*.gif
  • examples/Practical_tutorial/Images/atomsinbox.png is excluded by !**/*.png
  • examples/Practical_tutorial/Images/binary-graph.tiff is excluded by !**/*.tiff
  • examples/Practical_tutorial/Images/forascii.jpg is excluded by !**/*.jpg
  • examples/Practical_tutorial/Images/lattice_match.gif is excluded by !**/*.gif
  • examples/Practical_tutorial/Images/linus-pauling.png is excluded by !**/*.png
  • examples/Practical_tutorial/Images/pauling-equation.jpg is excluded by !**/*.jpg
  • examples/Practical_tutorial/Images/pauling-equation.png is excluded by !**/*.png
  • examples/Practical_tutorial/Images/pauling-equation.tiff is excluded by !**/*.tiff
  • examples/Practical_tutorial/Images/quaternary-graph.tiff is excluded by !**/*.tiff
  • examples/Practical_tutorial/Images/site_overlap.gif is excluded by !**/*.gif
  • examples/Practical_tutorial/Images/ternary-graph.tiff is excluded by !**/*.tiff
  • examples/Practical_tutorial/Images/toc.gif is excluded by !**/*.gif
Files selected for processing (1)
  • setup.py (1 hunks)
Additional comments not posted (1)
setup.py (1)

55-55: Verify compatibility with the new pymatgen version constraint.

The version constraint for pymatgen has been updated to >=2024.2.20,<2024.8.8. This change helps prevent compatibility issues with versions released after 2024.8.8. Ensure that the project has been tested with this version range to confirm stability and functionality.

@AntObi AntObi merged commit 92e9bc9 into develop Aug 15, 2024
29 of 30 checks passed
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.

2 participants