Comments (3)
The new python class for SubdirData
class SubdirData:
def _read_local_repodata(self, state):
....
def _process_raw_repodata_str(self, raw_repodata_str, state: dict | None = None):
....
def _process_raw_repodata(self, repodata, state=None):
....
def _pickle_me(self):
....
When we compare with what we have in conda-libmamba-solver.
class SubdirData:
def _read_local_repdata(self, etag, mod_stamp):
return self._internal_state_template
def _process_raw_repodata_str(self, raw_repodata_str):
return self._internal_state_template
def _process_raw_repodata(self, repodata):
return self._internal_state_template
def _pickle_me(self):
return
```
from conda-libmamba-solver.
I've inspected the methods and looks like they preserve the same return values. We just need to modify the function api for conda-libmamba-solver's api. So the change looks easy. Currently I've been stuck on Friday and today on how to actually run the test. When I run
pytest tests/gateways/test_connection.py::test_s3_server
Traceback (most recent call last):
File "/opt/conda-src/conda/testing/gateways/fixtures.py", line 117, in minio_s3_server
pid, logfile = xprocess.ensure(minio.name, Starter)
File "/opt/conda/lib/python3.9/site-packages/xprocess/xprocess.py", line 282, in ensure
if not starter.wait(log_file_handle):
File "/opt/conda/lib/python3.9/site-packages/xprocess/xprocess.py", line 399, in wait
has_match = any(std.re.search(self.pattern, line) for line in lines)
File "/opt/conda/lib/python3.9/site-packages/xprocess/xprocess.py", line 399, in <genexpr>
has_match = any(std.re.search(self.pattern, line) for line in lines)
File "/opt/conda/lib/python3.9/site-packages/xprocess/xprocess.py", line 405, in <genexpr>
non_empty_lines = (x for x in lines if x.strip())
File "/opt/conda/lib/python3.9/site-packages/xprocess/xprocess.py", line 422, in get_lines
raise TimeoutError(
TimeoutError: The provided start pattern MinIO Object Storage Server could not be matched within the specified time interval of 10 seconds
within the docker image I does not run properly. I think I need to figure out how to start the minio server for tests.
from conda-libmamba-solver.
Looks like the test fixture is failing for some reason running minio. Getting
sudo bash ./dev/linux/setup.sh
But now running into
Traceback (most recent call last):
File "/opt/conda-src/tests/gateways/test_connection.py", line 82, in test_s3_server minio_s3_server.populate_bucket(endpoint, bucket_name, channel_dir)
File "/opt/conda-src/conda/testing/gateways/fixtures.py", line 81, in populate_bucket
client.upload_file(
File "/opt/conda/lib/python3.9/site-packages/boto3/s3/inject.py", line 143, in upload_file
return transfer.upload_file(
File "/opt/conda/lib/python3.9/site-packages/boto3/s3/transfer.py", line 294, in upload_file
raise S3UploadFailedError(
boto3.exceptions.S3UploadFailedError: Failed to upload /opt/conda-src/tests/data/conda_format_repo/index.html to minio_s3_server/index.html: An error occurred (SlowDown) when calling the PutObject operation (reached max retries: 4): Resource requested is unreadable, please reduce your request rate
from conda-libmamba-solver.
Related Issues (20)
- Scheduled tests failed HOT 1
- libmamba solver doesn't match when uninstalling with wildcard HOT 2
- Scheduled tests failed HOT 1
- [DX] Update `bashrc.sh` to be compatible with libmamba v2
- Scheduled tests failed HOT 1
- conda `fetch_latest_path` interface may still read repodata into memory HOT 2
- PluginError: Error while loading conda plugins from entrypoints: libarchive.so.19: cannot open shared object file: No such file or directory HOT 1
- `conda update --all` is not idempotent HOT 1
- Scheduled tests failed HOT 1
- `conda update --all` is not idempotent HOT 7
- Support for build_number in MatchSpec HOT 6
- PackagesNotFoundError listing more than missing package HOT 8
- Installing packages in different order gives totally different versions HOT 4
- Scheduled tests failed
- Error "No module named pip" with Python2.7 HOT 4
- libmamba picks a build for the wrong Python version
- i have issue installing tensorflow-gpu
- i have issue with WSL HOT 1
- CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic HOT 1
- Conda update flips between two versions of the same package from the same channel HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conda-libmamba-solver.