[Bug 1844128] Re: deprecation warnings

Launchpad Bug Tracker 1844128 at bugs.launchpad.net
Thu Dec 2 12:54:53 UTC 2021


This bug was fixed in the package pastebinit - 1.5.1-1ubuntu1

---------------
pastebinit (1.5.1-1ubuntu1) devel; urgency=medium

  * d/p/0001-Fix-pasting-files-to-JSON-based-bins.patch:
    - Fix pasting files to JSON based bins. (LP: #1785821)
  * d/p/0002-Allow-private-to-be-configured.patch:
    - Allow 'private' to be configured.
  * d/p/0003-Update-Openstack-s-pastebin-site-paste.openstack.org.patch:
    - Update Openstack's pastebin site, paste.openstack.org → paste.opendev.org
  * d/p/0004-Fix-distro.linux_distribution-deprecation.patch:
    - Fix distro.linux_distribution deprecation. (LP: #1844128)
  * d/copyright: Correct paths.
  * d/control:
    - Replace d/compat with debhelper-compat, bump to 13.
    - R³: no.
  * Update Standards-Version to 4.6.0.

 -- Unit 193 <unit193 at ubuntu.com>  Tue, 23 Nov 2021 21:53:34 -0500

** Changed in: pastebinit (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pastebinit in Ubuntu.
https://bugs.launchpad.net/bugs/1844128

Title:
  deprecation warnings

Status in pastebinit package in Ubuntu:
  Fix Released

Bug description:
  Hello, there's several deprecation warnings in pastebinit's output
  lately:

  $ echo ignore me | pastebinit
  /usr/bin/pastebinit:42: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5
    release = platform.linux_distribution()[0].lower()
  /usr/bin/pastebinit:413: DeprecationWarning: pasteURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods
    url_opener = pasteURLopener()
  http://paste.ubuntu.com/p/sxrx5F7kss/

  
  Thanks

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: pastebinit 1.5-2
  ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21
  Uname: Linux 5.0.0-27-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.10-0ubuntu27.1
  Architecture: amd64
  Date: Mon Sep 16 12:30:32 2019
  PackageArchitecture: all
  ProcEnviron:
   TERM=rxvt-unicode-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: pastebinit
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pastebinit/+bug/1844128/+subscriptions




More information about the foundations-bugs mailing list