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

Remove all uses of cgi #2657

Merged
merged 1 commit into from
Apr 28, 2023
Merged

Remove all uses of cgi #2657

merged 1 commit into from
Apr 28, 2023

Conversation

eerovaher
Copy link
Member

The cgi module from the Python standard library is deprecated as of Python 3.11, see PEP 594. This pull request replaces all uses of cgi in astroquery following the example provided in the PEP.

Closes #2628

The `cgi` module from the Python standard library is deprecated as of
Python 3.11, see PEP 594: https://peps.python.org/pep-0594/
All uses of `cgi` in `astroquery` have been replaced following the
example provided in the PEP.
@codecov
Copy link

codecov bot commented Feb 6, 2023

Codecov Report

Merging #2657 (7e69666) into main (4b29a35) will increase coverage by 0.00%.
The diff coverage is 40.00%.

@@           Coverage Diff           @@
##             main    #2657   +/-   ##
=======================================
  Coverage   68.87%   68.87%           
=======================================
  Files         304      304           
  Lines       22529    22531    +2     
=======================================
+ Hits        15516    15518    +2     
  Misses       7013     7013           
Impacted Files Coverage Δ
astroquery/esa/hsa/core.py 36.55% <14.28%> (ø)
astroquery/esa/iso/core.py 64.21% <25.00%> (ø)
astroquery/esa/xmm_newton/core.py 64.56% <100.00%> (+0.21%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bsipocz bsipocz requested a review from jespinosaar February 6, 2023 20:31
@bsipocz bsipocz added this to the v0.4.7 milestone Feb 6, 2023
@jespinosaar
Copy link
Contributor

Thanks @eerovaher for doing this , I will have a look at this and check if everything works as expeced.

@bsipocz
Copy link
Member

bsipocz commented Apr 28, 2023

Thanks @eerovaher!

@bsipocz bsipocz merged commit 87b80b1 into astropy:main Apr 28, 2023
@jespinosaar
Copy link
Contributor

Thanks @eerovaher and @bsipocz !

@eerovaher eerovaher deleted the rm-cgi branch April 28, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MAINT: remove usage of cgi
3 participants