-
Notifications
You must be signed in to change notification settings - Fork 134
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
feat: Update dependencies to latest versions #1010
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -7,21 +7,21 @@ conda-forge-pinning=2024.06.01.05.54.15 | |||
|
||||
# basics | ||||
python=3.10.* | ||||
conda=24.5.* | ||||
conda=24.9.* | ||||
conda-libmamba-solver=24.1.* | ||||
conda-build=24.5.* | ||||
conda-index=0.4.* | ||||
conda-package-streaming=0.9.* | ||||
conda-build=24.9.* | ||||
conda-index=0.5.* | ||||
conda-package-streaming=0.11.* | ||||
mamba=1.5.* | ||||
boa=0.17.* | ||||
#boa=0.17.* | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are we using this one? This one is currently blocked by conda-forge/boa-feedstock#85 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like the boa imports were all removed in #980 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
|
||||
argh=0.31.* # CLI | ||||
colorlog=6.* # Logging | ||||
tqdm=4.66.* # Progress monitor | ||||
yaspin=2.* # | ||||
ruamel.yaml=0.18.* # Recipe YAML parsing | ||||
pyaml=24.04.* # Faster YAML parser (deprecate?) | ||||
networkx=3.3.* # (networkx>3.3 needs python>=3.10) | ||||
pyaml=24.09.* # Faster YAML parser (deprecate?) | ||||
networkx=3.4.* # (networkx>3.3 needs python>=3.10) | ||||
pandas=2.2.* # | ||||
libblas=*=*openblas # Avoid large mkl package (pulled in by pandas) | ||||
boltons=24.0.* # | ||||
|
@@ -43,10 +43,10 @@ aiohttp=3.9.* # HTTP lib | |||
aiohttp-jinja2 # jinja2 renderer for aiohttp.web | ||||
aiohttp-session # | ||||
aiohttp-security # | ||||
aiofiles=23.* # async open | ||||
aioftp=0.22.* # FTP lib | ||||
aiofiles=24.* # async open | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification aiofiles updated to version 24.1.0 with Potential Breaking Changes The
Please review your project's Python version and asynchronous I/O implementations to ensure compatibility with 🔗 Analysis chainReview changelog: aiofiles major version update The aiofiles version has been updated from 23.* to 24.*. This major version update may include significant changes or potential breaking changes. While keeping dependencies up-to-date is important, it's crucial to review the changelog for any breaking changes that might affect the project's async I/O operations. Please run the following script to review the changelog and check for any breaking changes: Action Required: Verify aiofiles 24. Release Details* The previous attempt to verify the aiofiles 24.* release targeted the wrong repository and did not provide the necessary information. Please run the following script to accurately review the aiofiles changelog and check for any breaking changes: Action Required: Verify the Existence of aiofiles 24. Release* The previous script incorrectly targeted the 'conda/conda-package-streaming' repository and failed to find the aiofiles 24.* release. Please run the following script to list all releases in the 'Tinche/aiofiles' repository and identify the correct release tag: Action Required: Review aiofiles 24.1.0 Changelog for Breaking Changes The aiofiles has been updated to version 24.1.0. To ensure compatibility and identify any potential breaking changes introduced in this major version update, please run the following script to review the changelog: Action Required: Review aiofiles v24.1.0 Changelog for Breaking Changes The aiofiles has been updated to version 24.1.0. To ensure compatibility and identify any potential breaking changes introduced in this major version update, please run the following script to review the changelog: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Review changelog and check for breaking changes in aiofiles 24.*
# Test: Search for breaking changes
gh search issues "aiofiles 24 breaking change" --repo Tinche/aiofiles
# Display changelog
echo "Please review the following changelog:"
gh release view --repo Tinche/aiofiles 24.0.0
Length of output: 269 Script: #!/bin/bash
# Description: Review changelog and check for breaking changes in aiofiles 24.*
# Search for breaking changes in issues
gh search issues "aiofiles 24 breaking change" --repo Tinche/aiofiles
# Display changelog for version 24.0.0
echo "Please review the following changelog:"
gh release view --repo Tinche/aiofiles 24.0.0
Length of output: 224 Script: #!/bin/bash
# Description: List all releases in the Tinche/aiofiles repository to verify aiofiles 24.* release
# List all releases
gh release list --repo Tinche/aiofiles
# Optionally, search for releases matching 24.*
gh release list --repo Tinche/aiofiles | grep '^v?24\.'
Length of output: 215 Script: #!/bin/bash
# Description: Fetch and review the changelog for aiofiles 24.1.0 to identify breaking changes
# Display changelog for version 24.1.0
echo "Fetching changelog for aiofiles v24.1.0..."
gh release view --repo Tinche/aiofiles 24.1.0
Length of output: 160 Script: #!/bin/bash
# Description: Fetch and review the changelog for aiofiles v24.1.0 to identify breaking changes
# Display changelog for version v24.1.0
echo "Fetching changelog for aiofiles v24.1.0..."
gh release view --repo Tinche/aiofiles v24.1.0
Length of output: 956 |
||||
aioftp=0.23.* # FTP lib | ||||
backoff=2.2.* # retrying of failed API calls | ||||
cachetools=5.3.* # request caching (NEEDED?) | ||||
cachetools=5.5.* # request caching (NEEDED?) | ||||
|
||||
# client API wrappers | ||||
gitpython=3.1.* # githandler | ||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -339,9 +339,9 @@ def get_config_from_root(root): | |
# configparser.NoOptionError (if it lacks "VCS="). See the docstring at | ||
# the top of versioneer.py for instructions on writing your setup.cfg . | ||
setup_cfg = os.path.join(root, "setup.cfg") | ||
parser = configparser.SafeConfigParser() | ||
parser = configparser.ConfigParser() | ||
with open(setup_cfg, "r") as f: | ||
parser.readfp(f) | ||
parser.read_file(f) | ||
Comment on lines
340
to
+344
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Consider updating error handling for better robustness While the changes to use Here's a suggested improvement: try:
parser = configparser.ConfigParser()
with open(setup_cfg, "r") as f:
parser.read_file(f)
except configparser.Error as e:
print(f"Error parsing {setup_cfg}: {e}", file=sys.stderr)
return 1
except IOError as e:
print(f"Error reading {setup_cfg}: {e}", file=sys.stderr)
return 1 |
||
VCS = parser.get("versioneer", "VCS") # mandatory | ||
|
||
def get(parser, name): | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm too afraid to bump python to 3.12 ... but if someone says its a good idea, please let me know!