Python DeprecationWarning during job startup

Hi,
I’ve just switched from pbspro 19.2.2 commercial editon, surprisingly migration to open source ediotion 19.1.3 went almost flawless.

But (there must be but :wink: ) there is single and bit annoying warn that occurs during job startup. Here’s how it looks:

Warning code
pbs_server ~ > qsub -I -l walltime=1:0:0 -l select=1:ncpus=1:mem=200mb
qsub: waiting for job 112332.pbs to start
qsub: job 112332.pbs ready

/opt/pbs/lib/python/altair/pbs/v1/_base_types.py:1436: DeprecationWarning: object.__new__() takes no parameters
  return object.__new__(cls, value, is_entity)
/opt/pbs/lib/python/altair/pbs/v1/_svr_types.py:259: DeprecationWarning: object.__new__() takes no parameters
  return object.__new__(cls, value)
/opt/pbs/lib/python/altair/pbs/v1/_base_types.py:793: DeprecationWarning: object.__init__() takes no parameters
  super(pbs_str,self).__init__(value)
/opt/pbs/lib/python/altair/pbs/v1/_base_types.py:767: DeprecationWarning: object.__init__() takes no parameters
  super(pbs_int,self).__init__(value)
/opt/pbs/lib/python/altair/pbs/v1/_svr_types.py:379: DeprecationWarning: object.__new__() takes no parameters
  return object.__new__(cls, value)

Installation info:

pbs_server + pbs_scheduler
pbs_version = 19.1.3
CentOS Linux release 7.7.1908 (Core)
3.10.0-1062.4.3.el7.x86_64
Python 2.7.5
pbs_mom on worker nodes
pbs_version = 19.1.3
CentOS release 6.10 (Final)
2.6.32-754.24.3.el6.x86_64
Python 2.6.6

Is there any simple solution to silence those warnings OR a recommended python version to use with 19.1.3?

All the best in 2020 :slight_smile:
Patryk.