Skip to content

webbrowser uses deprecated env variables to detect desktop type #85644

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

Closed
3v1n0 mannequin opened this issue Aug 4, 2020 · 1 comment · Fixed by #21731
Closed

webbrowser uses deprecated env variables to detect desktop type #85644

3v1n0 mannequin opened this issue Aug 4, 2020 · 1 comment · Fixed by #21731
Labels
3.13 bugs and security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@3v1n0
Copy link
Mannequin

3v1n0 mannequin commented Aug 4, 2020

BPO 41472
Nosy @3v1n0
PRs
  • gh-85644: webbrowser: Use $XDG_CURRENT_DESKTOP to check desktop #21731
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2020-08-04.13:34:03.463>
    labels = ['type-feature', 'library', '3.10']
    title = 'webbrowser uses deprecated env variables to detect desktop type'
    updated_at = <Date 2020-08-04.13:35:01.620>
    user = 'https://github.com/3v1n0'

    bugs.python.org fields:

    activity = <Date 2020-08-04.13:35:01.620>
    actor = 'Trevinho'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2020-08-04.13:34:03.463>
    creator = 'Trevinho'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41472
    keywords = ['patch']
    message_count = 1.0
    messages = ['374806']
    nosy_count = 1.0
    nosy_names = ['Trevinho']
    pr_nums = ['21731']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue41472'
    versions = ['Python 3.10']

    @3v1n0
    Copy link
    Mannequin Author

    3v1n0 mannequin commented Aug 4, 2020

    Webbrowser uses env variables such as GNOME_DESKTOP_SESSION_ID that have been dropped by GNOME in recent releases

    @3v1n0 3v1n0 mannequin added 3.10 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Aug 4, 2020
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @serhiy-storchaka serhiy-storchaka added 3.13 bugs and security fixes and removed 3.10 only security fixes labels Mar 2, 2024
    serhiy-storchaka pushed a commit that referenced this issue Mar 2, 2024
    …1731)
    
    Usage of $GNOME_DESKTOP_SESSION_ID env variable is deprecated since
    GNOME 3.30.0 [1], so should not be used, while the standard
    XDG_CURRENT_DESKTOP should be instead preferred.
    
    [1] https://gitlab.gnome.org/GNOME/gnome-session/-/commit/00e0e6226371d53f65
    woodruffw pushed a commit to woodruffw-forks/cpython that referenced this issue Mar 4, 2024
    …pythonGH-21731)
    
    Usage of $GNOME_DESKTOP_SESSION_ID env variable is deprecated since
    GNOME 3.30.0 [1], so should not be used, while the standard
    XDG_CURRENT_DESKTOP should be instead preferred.
    
    [1] https://gitlab.gnome.org/GNOME/gnome-session/-/commit/00e0e6226371d53f65
    adorilson pushed a commit to adorilson/cpython that referenced this issue Mar 25, 2024
    …pythonGH-21731)
    
    Usage of $GNOME_DESKTOP_SESSION_ID env variable is deprecated since
    GNOME 3.30.0 [1], so should not be used, while the standard
    XDG_CURRENT_DESKTOP should be instead preferred.
    
    [1] https://gitlab.gnome.org/GNOME/gnome-session/-/commit/00e0e6226371d53f65
    diegorusso pushed a commit to diegorusso/cpython that referenced this issue Apr 17, 2024
    …pythonGH-21731)
    
    Usage of $GNOME_DESKTOP_SESSION_ID env variable is deprecated since
    GNOME 3.30.0 [1], so should not be used, while the standard
    XDG_CURRENT_DESKTOP should be instead preferred.
    
    [1] https://gitlab.gnome.org/GNOME/gnome-session/-/commit/00e0e6226371d53f65
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.13 bugs and security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    Successfully merging a pull request may close this issue.

    1 participant