GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use of environment vars in paths is deprecated, Warning in Python 3.7 · Issue #832 · gitpython-developers/GitPython

Use of environment vars in paths is deprecated, Warning in Python 3.7 #832

New issue
Copy link
New issue
Copy link
Closed
Closed
Use of environment vars in paths is deprecated, Warning in Python 3.7#832
Copy link
Milestone
v3.0.6 - Bugfixes

Description

@ghost
ghost
opened on Jan 21, 2019
warnings.warn("The use of environment variables in paths is deprecated" +
/usr/local/lib/python3.7/dist-packages/git/repo/base.py:127: UserWarning: The use of environment variables in paths is deprecated for security reasons and may be removed in the future!!

However, I'm passing absolute paths to the Repo class, this creates a lot of warning messages in the script output

Activity

  1. Byron
    added
    waiting for feedback
    on Jul 6, 2019
  2. Byron commented on Jul 6, 2019

    @Byron
    Byron
    on Jul 6, 2019
    Member
    More actions

    Can you verify the paths are indeed not containing any of the characters the logic looks for? Namely % and $.

  3. rgkimball
    added 2 commits that reference this issue on Nov 22, 2019

    Avoids env var warning when path contains $/%; fix gitpython-develope…

    This issue will close once commit eb7fd75 is merged into the 'master' branch.
    eb7fd75

    Avoids env var warning when path contains $/%; fix gitpython-develope…

    This issue will close once commit 8072a94 is merged into the 'master' branch.
    8072a94
  4. Byron
    closed this as completedin 313b3b4on Dec 6, 2019
  5. Byron
    added this to the v3.0.6 - Bugfixes milestone on Dec 6, 2019
  6. Byron
    removed
    waiting for feedback
    on Dec 6, 2019
  7. wip-sync
    added a commit that references this issue on Mar 7, 2020

    py-git: update to 3.1.0.

    cc95dab
  8. Shidfar
    added a commit that references this issue on Apr 28, 2025

    Avoids env var warning when path contains $/%; fix gitpython-develope…

    This issue will close once commit 313b3b4 is merged into the 'master' branch.
    313b3b4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      • v3.0.6 - Bugfixes

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.