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

[recipe] skip_compile_pyc option broken? #5043

Open
2 tasks done
mara004 opened this issue Oct 22, 2023 · 3 comments
Open
2 tasks done

[recipe] skip_compile_pyc option broken? #5043

mara004 opened this issue Oct 22, 2023 · 3 comments
Labels
source::community catch-all for issues filed by community members stale::recovered [bot] recovered after being marked as stale type::bug describes erroneous operation, use severity::* to classify the type

Comments

@mara004
Copy link

mara004 commented Oct 22, 2023

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

Consider the following config:

build:
  skip_compile_pyc:
    - "*/*.py"

Despite this, I'm still getting Python bytecode into the package, which looks like a bug.
Note, the docs mention that we do not need ** for recursive search.

Conda Info

active environment : test_bundling
    active env location : /home/me/miniconda3/envs/test_bundling
            shell level : 3
       user config file : /home/me/.condarc
 populated config files : /home/me/miniconda3/.condarc
                          /home/me/.condarc
          conda version : 23.9.0
    conda-build version : 3.27.0
         python version : 3.11.5.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.36=0
                          __linux=6.5.7=0
                          __unix=0=0
       base environment : /home/me/miniconda3  (writable)
      conda av data dir : /home/me/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/bblanchon/linux-64
                          https://conda.anaconda.org/bblanchon/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/me/miniconda3/pkgs
                          /home/me/.conda/pkgs
       envs directories : /home/me/miniconda3/envs
                          /home/me/.conda/envs
               platform : linux-64
             user-agent : conda/23.9.0 requests/2.31.0 CPython/3.11.5 Linux/6.5.7-100.fc37.x86_64 fedora/37 glibc/2.36
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Conda Config

==> /home/me/miniconda3/.condarc <==
channels:
  - bblanchon
  - defaults

==> /home/me/.condarc <==
auto_activate_base: False

Conda list

# packages in environment at /home/me/miniconda3/envs/test_bundling:
#
# Name                    Version                   Build  Channel

Additional Context

The package is not noarch, and uses a local git_url as source.

@mara004 mara004 added the type::bug describes erroneous operation, use severity::* to classify the type label Oct 22, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in 🧭 Planning Oct 22, 2023
@mara004

This comment was marked as outdated.

@mara004 mara004 changed the title skip_compile_pyc option broken? [recipe] skip_compile_pyc option broken? Oct 22, 2023
@travishathaway travishathaway added the source::community catch-all for issues filed by community members label Nov 6, 2023
Copy link

github-actions bot commented Nov 6, 2024

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include:
    - What OS and version you reproduced the issue on
    - What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label Nov 6, 2024
@mara004
Copy link
Author

mara004 commented Nov 6, 2024

The issue probably persists, but is not relevant to me personally anymore.

@github-actions github-actions bot added stale::recovered [bot] recovered after being marked as stale and removed stale [bot] marked as stale due to inactivity labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source::community catch-all for issues filed by community members stale::recovered [bot] recovered after being marked as stale type::bug describes erroneous operation, use severity::* to classify the type
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants