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

PyXB version 1.2.6 #112

Closed
predatell opened this issue Jul 19, 2018 · 8 comments
Closed

PyXB version 1.2.6 #112

predatell opened this issue Jul 19, 2018 · 8 comments

Comments

@predatell
Copy link

The latest version of PyXB is 1.2.6. It was released on Sep 2017 with fixes of bugs:

http://pyxb.sourceforge.net/releases.html#sep-2017

@chsriniv9
Copy link

@predatell
Below are the steps to follow for upgrading PyXB version from 1.2.5 (or any older version) to 1.2.6 (latest).

  1. Run the command in CMD prompt "pip install pyxb==1.2.6" or "pip install PyXB --upgrade" (in the same drive where Python is installed).
  2. You will be seeing a warning message that "authorizenet 1.1.0 has requirement pyxb==1.2.5, but you'll have pyxb 1.2.6 which is incompatible.". To correct this, we need to update all the PyXB dependencies from 1.2.5 to 1.2.6 in the entire project.
  3. In \setup.py, update to install_requires=['pyxb==1.2.6', 'lxml==4.', 'requests==2.'],
  4. In \script\binding.py and \authorizenet\apicontractsv1.py, update to _PyXBVersion = '1.2.6'
  5. In.travis.yml, update to pip install pyxb==1.2.6
  6. Run the \script\generateObjectsFromXSD.bat batch file from the terminal as mentioned in \DESCRIPTION.rst file.
  7. In PyCharm IDE, File→ Settings→ Project Interpreter→ sdk-python project / sample-code-python project, Verify that PyXB version is showing as 1.2.6.
  8. Run sample code to make API requests.

@chsriniv9
Copy link

@predatell
Based on the inputs provided by previously, closing this issue. Please feel free to re-open if you need any further assistance.

@predatell
Copy link
Author

Why did you close it? Have you upgraded app to requirement of PyXB version 1.2.6?

@predatell
Copy link
Author

I think this issue must be closed when app will have requirements for PyXB version 1.2.6 (current version of package)

@chsriniv9
Copy link

  1. If any developer wants to upgrade to PyXB 1.2.6, it can be upgraded with the steps mentioned in the post.
  2. We don’t have a compelling reason to shift sdk-python to new version of PyXB 1.2.6

Please let us know any specific fixe(s) / enhancement(s) of 1.2.6 has that benefits wider developer community for us to evaluate. Thank you for your support in advance

@predatell
Copy link
Author

  1. Is current package official package of AuthorizeNet ? Any developer can be involved in development?
  2. I have already sent you link(http://pyxb.sourceforge.net/releases.html#sep-2017) where you can read about "any specific fixe(s) / enhancement(s) of 1.2.6". As I know the goal of any new release of package is "fixe(s) / enhancement(s)".
  3. What can be a reason to use old version of library and to send users messages like this "the error is coming from the pyxb library..." (Get Transaction Details Info Errror #109) ? What can be a reason for upgrading to latest stable version of any related package?

@jhiggins
Copy link

The PyXB author has expressed that he is not really interested in continuing maintenance of the library, perhaps it is time to consider a replacement?

pabigot/pyxb#100

wm3ndez added a commit to wm3ndez/sdk-python that referenced this issue Jan 29, 2020
This is the recommended fix for the following issue:
AuthorizeNet#112
@scottie
Copy link

scottie commented Nov 27, 2023

yet here we are 5 years later....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants