Skip to content

fix: sre_constants import because of deprecation#2139

Merged
johanneskoester merged 2 commits intosnakemake:mainfrom
valentynbez:main
Mar 1, 2023
Merged

fix: sre_constants import because of deprecation#2139
johanneskoester merged 2 commits intosnakemake:mainfrom
valentynbez:main

Conversation

@valentynbez
Copy link
Copy Markdown
Contributor

  • sre_constants is deprecated, the import statement was updated accordingly

Description

The re module sources are being reorganized, see more information: python/cpython#91308
Small fix accommodates changes for all python versions.

- `sre_constants` is deprecated, the import was updated accordingly
@valentynbez valentynbez changed the title Fix sre_constants import because of deprecation fix: sre_constants import because of deprecation Feb 23, 2023
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@johanneskoester johanneskoester merged commit 3b326db into snakemake:main Mar 1, 2023
johanneskoester pushed a commit that referenced this pull request Mar 1, 2023
🤖 I have created a release *beep* *boop*
---


##
[7.24.0](v7.23.1...v7.24.0)
(2023-03-01)


### Features

* limit the number of input/output files in job properties
([#2149](#2149))
([d93f091](d93f091))


### Bug Fixes

* [#2130](#2130) by
patching the protect() method so the path of files in subdirectories is
properly resolved during write-protection
([#2131](#2131))
([1a754fd](1a754fd))
* `sre_constants` import because of deprecation
([#2139](#2139))
([3b326db](3b326db))
* ensure user and group rw permissions for metadata files and source
cache ([#2132](#2132))
([cc51faa](cc51faa))
* is_run error with local, group jobs
([#2133](#2133))
([31bfcd5](31bfcd5))
* require toposort >= 1.10
([#2145](#2145))
([3cb54b8](3cb54b8))


### Documentation

* Update modularization.rst
([#2137](#2137))
([16954c7](16954c7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants