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

Resolve #111 Add test for PersistencePickle._simple_save #114

Open
wants to merge 4 commits into
base: v2
Choose a base branch
from

Conversation

alvarofpp
Copy link
Member

@alvarofpp alvarofpp commented Oct 27, 2024

  • Upgrade mambaorg/micromamba Docker image base from 1.4.9 to 2.0.2.
  • Downgrade Python from 3.11 to 3.10 to fix pysc2 incompatibility (TypeError: Random.shuffle() takes 2 positional arguments but 3 were given on pysc2/lib/colors.py:121).
  • Add test for PersistencePickle._simple_save.
  • Decrease coverage.fail_under from 100.0 to 90.0.

Related:

@alvarofpp alvarofpp added the hacktoberfest Hacktoberfest label Oct 27, 2024
@alvarofpp alvarofpp self-assigned this Oct 27, 2024
@alvarofpp alvarofpp changed the title Resolve #111 Resolve #111 Add test for PersistencePickle._simple_save Oct 27, 2024
Copy link

Choose a reason for hiding this comment

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

I tried to run task shell and the task test related commands and got the following errors:

image

Choose a reason for hiding this comment

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

I'm getting the same errors and after fixing the task shell one it also outputs "uids and gids must be in range 0-2147483647". (i'm on windows btw)

@@ -50,17 +50,23 @@ tasks:
shell:
desc: Runs the shell of a container.
cmds:
- ${CMD_DOCKER_RUN} -v ${ROOT}:/tmp -it ${PACKAGE_NAME} /bin/bash
- ${CMD_DOCKER_RUN} -u ${UID}:${GID -v ${ROOT}:/tmp -it ${PACKAGE_NAME} /bin/bash
Copy link

Choose a reason for hiding this comment

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

Suggested change
- ${CMD_DOCKER_RUN} -u ${UID}:${GID -v ${ROOT}:/tmp -it ${PACKAGE_NAME} /bin/bash
- ${CMD_DOCKER_RUN} -u ${UID}:${GID} -v ${ROOT}:/tmp -it ${PACKAGE_NAME} /bin/bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants